aa-enabled is used to determine if AppArmor is enabled.
aa-enabled accepts the following arguments:
Display a brief usage guide.
Do not output anything to stdout. This option is intended to be
used by scripts that simply want to use the exit code to determine
if AppArmor is enabled.
Upon exiting, aa-enabled will set its exit status to the following
0: if AppArmor is enabled.
1: if AppArmor is not enabled/loaded.
2: intentionally not used as an aa-enabled exit status.
3: if the AppArmor control files aren't available under
4: if aa-enabled doesn't have enough privileges to read the apparmor
64: if any unexpected error or condition is encountered.
If you find any bugs, please report them at
apparmor(7), apparmor.d(5), aa_is_enabled(2), and
AppArmor 2.10.95 2015-12-17 AA-ENABLED(8)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2018
All Rights Reserved.