[Apparmor-dev] [RFR] add support for lock and append bits to logprof.

Seth Arnold seth.arnold at suse.de
Mon Jul 23 16:51:27 MDT 2007


On Fri, Jul 20, 2007 at 05:06:55PM -0700, jesse michael wrote:
> On Fri, Jul 20, 2007 at 10:52:08AM -0600, Dominic Reynolds wrote:
> > Patches refreshed and new ones added to fix bugs and incorporate
> > feedback (thanks seth, jj, david, jesse for the testing and review)
> 
> I haven't had a chance to look at these very much yet, but here's an 
> additional patch to support the lock and append bits as well as complain
> if we run into any new mode specifications in a profile that we don't 
> already know about.

> +            if (!validate_mode($mode)) {
> +                fatal_error(sprintf(gettext('Profile %s contains invalid mode %s.', $file, $mode)));
> +            }
> +

Is a fatal error really a good idea?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070723/0864b34f/attachment.pgp


More information about the Apparmor-dev mailing list