113 lines
2.6 KiB
HTML
113 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of AA-ENABLED</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>AA-ENABLED</H1>
|
|
Section: AppArmor (1)<BR>Updated: 2020-05-19<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
aa-enabled - test whether AppArmor is enabled
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
<B>aa-enabled</B> [options]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
<B>aa-enabled</B> is used to determine if AppArmor is enabled.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
|
|
<B>aa-enabled</B> accepts the following arguments:
|
|
<DL COMPACT>
|
|
<DT id="1">-h, --help<DD>
|
|
|
|
|
|
Display a brief usage guide.
|
|
<DT id="2">-q, --quiet<DD>
|
|
|
|
|
|
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.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
|
|
|
|
Upon exiting, <B>aa-enabled</B> will set its exit status to the following values:
|
|
<DL COMPACT>
|
|
<DT id="3"><B>0</B><DD>
|
|
|
|
|
|
if AppArmor is enabled.
|
|
<DT id="4"><B>1</B><DD>
|
|
|
|
|
|
if AppArmor is not enabled/loaded.
|
|
<DT id="5"><B>2</B><DD>
|
|
|
|
|
|
intentionally not used as an <B>aa-enabled</B> exit status.
|
|
<DT id="6"><B>3</B><DD>
|
|
|
|
|
|
if the AppArmor control files aren't available under /sys/kernel/security/.
|
|
<DT id="7"><B>4</B><DD>
|
|
|
|
|
|
if <B>aa-enabled</B> doesn't have enough privileges to read the apparmor control files.
|
|
<DT id="8"><B>64</B><DD>
|
|
|
|
|
|
if any unexpected error or condition is encountered.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
|
|
|
|
If you find any bugs, please report them at
|
|
<<A HREF="https://bugs.launchpad.net/apparmor/+filebug">https://bugs.launchpad.net/apparmor/+filebug</A>>.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+apparmor">apparmor</A></B>(7), <B><A HREF="/cgi-bin/man/man2html?5+apparmor.d">apparmor.d</A></B>(5), <B><A HREF="/cgi-bin/man/man2html?2+aa_is_enabled">aa_is_enabled</A></B>(2), and <<A HREF="https://wiki.apparmor.net">https://wiki.apparmor.net</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">EXIT STATUS</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">BUGS</A><DD>
|
|
<DT id="15"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:06 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|