[apparmor] [patch 26/26] Fix: output of apparmor_parser -p having double comma
Seth Arnold
seth.arnold at canonical.com
Wed Apr 23 00:42:11 UTC 2014
On Tue, Apr 15, 2014 at 10:22:33AM -0700, john.johansen at canonical.com wrote:
> For some rules the output of apparmor_parser -p has a double comma
>
> Eg.
> ptrace (tracedby),
> dbus (send,receive),
> is output as
> ptrace (tracedby),,
> dbus (send,receive),,
>
> Signed-off-by: John Johansen <john.johansen at canonical.com>
> Acked-by: Seth Arnold <seth.arnold at canonical.com>
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
>
> ---
> parser/parser_lex.l | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- 2.9-test.orig/parser/parser_lex.l
> +++ 2.9-test/parser/parser_lex.l
> @@ -604,7 +604,7 @@
> <INITIAL,NETWORK_MODE,RLIMIT_MODE,MOUNT_MODE,DBUS_MODE,SIGNAL_MODE,PTRACE_MODE>{
> {END_OF_RULE} {
> if (YY_START != INITIAL)
> - POP();
> + POP_NODUMP();
> RETURN_TOKEN(TOK_END_OF_RULE);
> }
>
>
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140422/4200a7db/attachment.pgp>
More information about the AppArmor
mailing list