1 config SECURITY_APPARMOR
2 bool "AppArmor support"
3 depends on SECURITY && NET
7 select SECURITY_NETWORK
10 This enables the AppArmor security module.
11 Required userspace tools (if they are not included in your
12 distribution) and further information may be found at
13 http://apparmor.wiki.kernel.org
15 If you are unsure how to answer this question, answer N.
17 config SECURITY_APPARMOR_HASH
18 bool "Enable introspection of sha1 hashes for loaded profiles"
19 depends on SECURITY_APPARMOR
24 This option selects whether introspection of loaded policy
25 is available to userspace via the apparmor filesystem.
27 config SECURITY_APPARMOR_HASH_DEFAULT
28 bool "Enable policy hash introspection by default"
29 depends on SECURITY_APPARMOR_HASH
32 This option selects whether sha1 hashing of loaded policy
33 is enabled by default. The generation of sha1 hashes for
34 loaded policy provide system administrators a quick way
35 to verify that policy in the kernel matches what is expected,
36 however it can slow down policy load on some devices. In
37 these cases policy hashing can be disabled by default and
38 enabled only if needed.
40 config SECURITY_APPARMOR_DEBUG
41 bool "Build AppArmor with debug code"
42 depends on SECURITY_APPARMOR
45 Build apparmor with debugging logic in apparmor. Not all
46 debugging logic will necessarily be enabled. A submenu will
47 provide fine grained control of the debug options that are
50 config SECURITY_APPARMOR_DEBUG_ASSERTS
51 bool "Build AppArmor with debugging asserts"
52 depends on SECURITY_APPARMOR_DEBUG
55 Enable code assertions made with AA_BUG. These are primarily
56 function entry preconditions but also exist at other key
57 points. If the assert is triggered it will trigger a WARN
60 config SECURITY_APPARMOR_DEBUG_MESSAGES
61 bool "Debug messages enabled by default"
62 depends on SECURITY_APPARMOR_DEBUG
65 Set the default value of the apparmor.debug kernel parameter.
66 When enabled, various debug messages will be logged to
67 the kernel message buffer.