apparmor.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- What is AppArmor? ---
  2. AppArmor is MAC style security extension for the Linux kernel. It implements
  3. a task centered policy, with task "profiles" being created and loaded
  4. from user space. Tasks on the system that do not have a profile defined for
  5. them run in an unconfined state which is equivalent to standard Linux DAC
  6. permissions.
  7. --- How to enable/disable ---
  8. set CONFIG_SECURITY_APPARMOR=y
  9. If AppArmor should be selected as the default security module then
  10. set CONFIG_DEFAULT_SECURITY="apparmor"
  11. and CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
  12. Build the kernel
  13. If AppArmor is not the default security module it can be enabled by passing
  14. security=apparmor on the kernel's command line.
  15. If AppArmor is the default security module it can be disabled by passing
  16. apparmor=0, security=XXXX (where XXX is valid security module), on the
  17. kernel's command line
  18. For AppArmor to enforce any restrictions beyond standard Linux DAC permissions
  19. policy must be loaded into the kernel from user space (see the Documentation
  20. and tools links).
  21. --- Documentation ---
  22. Documentation can be found on the wiki.
  23. --- Links ---
  24. Mailing List - apparmor@lists.ubuntu.com
  25. Wiki - http://apparmor.wiki.kernel.org/
  26. User space tools - https://launchpad.net/apparmor
  27. Kernel module - git://git.kernel.org/pub/scm/linux/kernel/git/jj/apparmor-dev.git