[apparmor] [patch] fix "Invalid mode found: AUDITING" in aa-logprof / logparser.py
Steve Beattie
steve at nxnw.org
Wed Aug 20 17:17:26 UTC 2014
On Wed, Aug 20, 2014 at 01:38:40PM +0200, Christian Boltz wrote:
> this patch fixes "Invalid mode found: AUDITING" in aa-logprof. Actually
> the fix is done in logparser.py which contained "AUDITING" instead of
> "AUDIT" at one place.
>
> References: https://bugs.launchpad.net/apparmor/+bug/1358705
Nice catch, thanks. Acked-by: Steve Beattie <steve at nxnw.org>
> === modified file 'utils/apparmor/logparser.py'
> --- utils/apparmor/logparser.py 2014-08-18 19:01:38 +0000
> +++ utils/apparmor/logparser.py 2014-08-20 11:26:09 +0000
> @@ -151,7 +151,7 @@
> # Convert aamode values to their counter-parts
> mode_convertor = {0: 'UNKNOWN',
> 1: 'ERROR',
> - 2: 'AUDITING',
> + 2: 'AUDIT',
> 3: 'PERMITTING',
> 4: 'REJECTING',
> 5: 'HINT',
--
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/20140820/3c92bbf4/attachment.pgp>
More information about the AppArmor
mailing list