aa_is_enabled − determine if apparmor is available
aa_find_mountpoint − find where the apparmor interface filesystem is mounted
int aa_find_mountpoint(char **mnt);
Link with −lapparmor when compiling.
The aa_is_enabled function returns true (1) if apparmor is enabled. If it isn’t it sets the errno to reflect the reason it is not enabled and returns 0.
The aa_find_mountpoint function finds where the apparmor filesystem is mounted on the system, and returns a string containing the mount path. It is the caller’s responsibility to free(3) the returned path.
aa_is_enabled On success 1 is returned. On error, 0 is returned, and errno(3) is set appropriately.
aa_find_mountpoint On success zero is returned. On error, −1 is returned, and errno(3) is set appropriately.
AppArmor extensions to the system are not available.
AppArmor is available on the system but has been disabled at boot.
AppArmor is available (and maybe even enforcing policy) but the interface is not available.
Insufficient memory was available.
Did not have sufficient permissions to determine if AppArmor is enabled.
+Did not have sufficient permissions to determine if AppArmor is enabled.
Insufficient memory was available.
Access to the the required paths was denied.
The apparmor filesystem mount could not be found
None known. If you find any, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
apparmor(7), apparmor.d(5), apparmor_parser(8), and <http://wiki.apparmor.net>.
above document had some coding errors, which are explained
Around line 60:
You can’t have =items (as at line 64) unless the first thing after the =over is an =item
More Linux Commands
wcsncasecmp(3) - compare two fixed-size wide-character strin
The wcsncasecmp() function is the wide-character equivalent of the strncasecmp(3) function. It compares the wide-character string pointed to by s1 and the wide-
getline(3) - delimited string input - Linux manual page.....
getline() reads an entire line from stream, storing the address of the buffer containing the text into *lineptr. The buffer is null-terminated and includes the
gnutls_x509_privkey_import_dsa_raw(3) - API function........
This function will convert the given DSA raw parameters to the native gnutls_x509_privkey_t format. The output will be stored in key. RETURNS On success, GNUTLS
intel_bios_dumper(1) - Saves the Intel video BIOS contents t
intel_bios_dumper is a tool to save the contents of the Intel video BIOS to a file. It can then be parsed offline for debugging issues with the video bios table
XUndefineCursor(3) - define cursors - Linux manual page.....
If a cursor is set, it will be used when the pointer is in the window. If the cursor is None, it is equivalent to XUndefineCursor. XDefineCursor can generate Ba
makeinfo(1) - translate Texinfo documents - Linux man page
Translate Texinfo source documentation to various other formats, by default Info files suitable for reading online with Emacs or standalone GNU Info. General op
systemd(1) - systemd System and Service Manager (Man Page)
systemd is a system and service manager for Linux operating systems. When run as first process on boot (as PID 1), it acts as init system that brings up and mai
gluBeginCurve(3gl) - delimit a NURBS curve definition.......
Use gluBeginCurve to mark the beginning of a NURBS curve definition. After calling gluBeginCurve, make one or more calls to gluNurbsCurve to define the attribut
ber_put_string(3) - OpenLDAP LBER simplified Basic Encoding
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is
glGetTexParameter(3gl) - return texture parameter values....
glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture, either GL_TEXTURE_1D, GL
move_panel(3curses) - panel stack extension for curses......
Panels are ncurses(3NCURSES) windows with the added feature of depth. Panel functions allow the use of stacked windows and ensure the proper portions of each wi
gnutls_anon_allocate_client_credentials(3) - API function...
gnutls_anon_allocate_client_credentials.3 - This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate i