logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

aa-cleanprof - clean an existing AppArmor security profile.

Bugs

       If you find any bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues>.

Description

aa-cleanprof is used to perform a cleanup on one or more profiles.  The tool removes any existing
       superfluous rules (rules that are covered under an include or another rule), reorders the rules to group
       similar rules together and removes all comments from the file.

Name

       aa-cleanprof - clean an existing AppArmor security profile.

Options

-d--dir/path/to/profiles

          Specifies where to look for the AppArmor security profile set.
          Defaults to /etc/apparmor.d.

       --no-reload
          Do not reload the profile after modifying it.

       -s--silent

          Silently overwrites the profile without user prompt.

See Also

apparmor(7), apparmor.d(5), aa-enforce(1), aa-complain(1), aa-disable(1), aa_change_hat(2), and
       <https://wiki.apparmor.net>.

AppArmor 5.0.0~alpha1                              2025-08-19                                    AA-CLEANPROF(8)

Synopsis

aa-cleanprof<executable>[<executable>...][-d/path/to/profiles][--no-reload][-s]

See Also