This function changes the current R process to an AppArmor profile.
Note that this generally is a one way process: most profiles explicitly prevent switching into another profile, otherwise it would defeat the purpose.
Usage
aa_change_profile(profile, verbose = TRUE)
Arguments
profile
character string with the name of the profile.
verbose
print some C output (TRUE/FALSE)
References
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/.