mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
gen_flag_rules has a boolean vs bit and case where parenthesis are helpful to express the intended order of operations. It also doesn't handle the case where there are no matches. Fix this by causing that case to fail. also improve the debug of option extraction. Signed-off-by: John Johansen <john.johansen@canonical.com>
The apparmor_parser allows you to add, replace, and remove AppArmor policy through the use of command line options. The default is to add. `apparmor_parser --help` shows what the command line options are. You can also find more information at https://wiki.apparmor.net -- The AppArmor development team