mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
--config-file is processed early in a separate argument processing pass. Adjust --warn and --Werror processing so they are done in both the early and late arg processing pass. --warn and --Werror must be run in both argument processing passes so that 1. They can be used with --config-file as long as they are specified before --config-file (early pass) 2. They are not overriden by any flags set in the config file, as command line options take priority over what is in the config file (hence the need for reprocessing in the second pass) MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/600 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