mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
Historically, if you create a `profile foo /bin/foo` with aa-logprof (by choosing "named exec"), it will be saved as `/etc/apparmor.d/profile_foo` This patch drops the `profile_` filename prefix so that the filename will be `/etc/apparmor.d/foo` MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1014 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
Known Bugs: Will allow multiple letters in the () due to translation/unicode issues with regexing the key. User input will probably bug out in a different locale.