This function tries to lookup the status of AppArmor in the kernel. However, some confined profiles might not have enough privileges to lookup this status. Also see aa_getcon().
aa_is_enabled(verbose = TRUE)
print some C output (TRUE/FALSE)
Jeroen Ooms (2013). The RAppArmor Package: Enforcing Security Policies in R Using Dynamic Sandboxing on Linux. Journal of Statistical Software, 55(7), 1-34. http://www.jstatsoft.org/v55/i07/.
Ubuntu Manpage: aa_is_enabled
- determine if apparmor is available. http://manpages.ubuntu.com/manpages/precise/man2/aa_find_mountpoint.2.html.
Other apparmor: aa_change_hat
,
aa_change_profile
,
aa_find_mountpoint