Name
aa-remove-unknown - remove unknown AppArmor profilesSynopsis
\&aa-remove-unknown [option]Description
\&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
displays a short usage statement.
dry run; only prints the names of profiles that would be removed
Examples
\& $ sudo ./aa-remove-unknown -n \& Would remove \*(Aqtest//null-/usr/bin/whoami\*(Aq \& Would remove \*(Aqtest\*(Aq\& $ sudo ./aa-remove-unknown \& Removing \*(Aqtest//null-/usr/bin/whoami\*(Aq \& Removing \*(Aqtest\*(Aq