mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Make it so the @{exec_path} and @{attach_path} variables behavior completely as local variables, overriding global variables of the same name, instead of conflicting with them. The exec var is only validate for the profile block after the attachment is defined so the pattern @{exec_path}=/path profile test @{exec_path} { @{exec_path} rw, } is valid with the global var defining the attachent which then sets the local auto @{exec_path} and @{attach_path} variables. 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