acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-devel] [PATCH 2/2] Suppress error messages when copying securit


From: Mike Frysinger
Subject: Re: [Acl-devel] [PATCH 2/2] Suppress error messages when copying security.ima fails
Date: Fri, 9 Dec 2016 16:02:34 -0500

On 09 Dec 2016 15:18, Stefan Berger wrote:
> On 12/09/2016 02:40 PM, Mike Frysinger wrote:
> > On 25 Oct 2016 13:36, Stefan Berger wrote:
> >> The security.ima extended attribute may be copied when it contains
> >> a digital signature. In case it is a hash, the copying will fail
> >> and we suppress the error message in that case.
> >
> > i'm not sure hardcoding specific attributes in the C code like this
> > is a good idea.  can't we leverage the existing conf file ?
> 
> Should we add an option to not display an error? Like 'quiet' ?

that's already possible by not passing in an error context.
but that's not what i meant.  we already have xattr.conf that
explicitly lists attributes and whether we should skip them.
can't we leverage that database in these files and have it
(silently) skip attributes when they're listed as "skip" ?
-mike

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]