Public bug reported:
File tst/simple_tests/file/ok_bare_1.sd from the test suite doesn't
parse correctly:
sarnold@hunt:~/trees/apparmor/parser$ cat tst/simple_tests/file/ok_bare_1.sd
#
#=Description bare file rule
#=EXRESULT PASS
#
/usr/bin/foo {
deny file,
}
sarnold@hunt:~/trees/apparmor/parser$ ./apparmor_parser -Qd
tst/simple_tests/file/ok_bare_1.sd
AppArmor parser error for tst/simple_tests/file/ok_bare_1.sd in
tst/simple_tests/file/ok_bare_1.sd at line 6: Invalid mode, in deny rules 'x'
must not be preceded by exec qualifier 'i', 'p', or 'u'
This is checkout at version 3338
This also exists in at least trusty's apparmor_parser too:
2.8.95~2430-0ubuntu5.3
$ apparmor_parser -Qd tst/simple_tests/file/ok_bare_1.sd
AppArmor parser error for tst/simple_tests/file/ok_bare_1.sd in
tst/simple_tests/file/ok_bare_1.sd at line 6: Invalid mode, in deny rules 'x'
must not be preceded by exec qualifier 'i', 'p', or 'u'
** Affects: apparmor
Importance: Undecided
Status: New
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Also affects: apparmor
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534869
Title:
"deny file" -> Invalid mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1534869/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs