aa-remove-unknown8
Remove unknown apparmor profiles
Usage
aa-remove-unknown [option]
Overview
aa-remove-unknown will inventory all profiles in /etc/apparmor.d/, compare that list to the profiles currently loaded into the kernel, and then remove all of the loaded profiles that were not found in /etc/apparmor.d/. It will also report the name of each profile that it removes on standard out.
Options
-
-h, --help -
displays a short usage statement.
-
-n -
dry run; only prints the names of profiles that would be removed
Examples
$ sudo ./aa-remove-unknown -nWould remove 'test//null-/usr/bin/whoami'Would remove 'test'$ sudo ./aa-remove-unknownRemoving 'test//null-/usr/bin/whoami'Removing 'test'
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.