mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Fix: output of apparmor_parser -p having double comma
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@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
parent
2e01c945aa
commit
b10965b78e
@ -581,7 +581,7 @@ LT_EQUAL <=
|
||||
<INITIAL,NETWORK_MODE,RLIMIT_MODE,MOUNT_MODE,DBUS_MODE>{
|
||||
{END_OF_RULE} {
|
||||
if (YY_START != INITIAL)
|
||||
POP();
|
||||
POP_NODUMP();
|
||||
RETURN_TOKEN(TOK_END_OF_RULE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user