Parser incorrectly treats "deny file," rules as invalid
Bug #1215637 reported by
Tyler Hicks
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Triaged
|
Low
|
Unassigned |
Bug Description
Empty file rules work with all rule modifiers except for deny:
$ echo '/t { file, }' | apparmor_parser -Qq
$ echo '/t { audit file, }' | apparmor_parser -Qq
$ echo '/t { owner file, }' | apparmor_parser -Qq
$ echo '/t { deny file, }' | apparmor_parser -Qq
AppArmor parser error, in stdin line 1: Invalid mode, in deny rules 'x' must not be preceded by exec qualifier 'i', 'p', or 'u'
tags: | added: aa-parser |
To post a comment you must log in.
This is still an issue with 2.9.