[apparmor] [patch] Better error message on unknown profile lines
Steve Beattie
steve at nxnw.org
Mon Jan 25 21:45:42 UTC 2016
On Sat, Dec 26, 2015 at 09:27:46PM +0100, Christian Boltz wrote:
> when hitting an unknown line while parsing a profile, it's a good idea
> to include that line in the error message ;-)
>
> I propose this patch for trunk and 2.10
> (2.9 would print a literal \n because it doesn't have apparmor.fail, so
> if we want that patch in 2.9, I'll have to s/\n //')
>
> [ 49-parse-unknown-line-better-error-msg.diff ]
Acked-by: Steve Beattie <steve at nxnw.org> for all three branches. Thanks.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160125/d68078cb/attachment-0001.pgp>
More information about the AppArmor
mailing list