Kconfig (3b5d1afd1f13bcab85eaa28223ad396694f929e3) Kconfig (c9fecf505a3421752a598227f8ef895e97966c4b)
1# SPDX-License-Identifier: GPL-2.0-only
2config SECURITY_APPARMOR
3 bool "AppArmor support"
4 depends on SECURITY && NET
5 select AUDIT
6 select SECURITY_PATH
7 select SECURITYFS
8 select SECURITY_NETWORK

--- 56 unchanged lines hidden (view full) ---

65 depends on SECURITY_APPARMOR_DEBUG
66 default n
67 help
68 Set the default value of the apparmor.debug kernel parameter.
69 When enabled, various debug messages will be logged to
70 the kernel message buffer.
71
72config SECURITY_APPARMOR_KUNIT_TEST
1# SPDX-License-Identifier: GPL-2.0-only
2config SECURITY_APPARMOR
3 bool "AppArmor support"
4 depends on SECURITY && NET
5 select AUDIT
6 select SECURITY_PATH
7 select SECURITYFS
8 select SECURITY_NETWORK

--- 56 unchanged lines hidden (view full) ---

65 depends on SECURITY_APPARMOR_DEBUG
66 default n
67 help
68 Set the default value of the apparmor.debug kernel parameter.
69 When enabled, various debug messages will be logged to
70 the kernel message buffer.
71
72config SECURITY_APPARMOR_KUNIT_TEST
73 bool "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
73 bool "Build KUnit tests for policy_unpack.c"
74 depends on KUNIT=y && SECURITY_APPARMOR
74 depends on KUNIT=y && SECURITY_APPARMOR
75 default KUNIT_ALL_TESTS
76 help
77 This builds the AppArmor KUnit tests.
78
79 KUnit tests run during boot and output the results to the debug log
75 help
76 This builds the AppArmor KUnit tests.
77
78 KUnit tests run during boot and output the results to the debug log
80 in TAP format (http://testanything.org/). Only useful for kernel devs
79 in TAP format (https://testanything.org/). Only useful for kernel devs
81 running KUnit test harness and are not for inclusion into a
82 production build.
83
84 For more information on KUnit and unit tests in general please refer
85 to the KUnit documentation in Documentation/dev-tools/kunit/.
86
87 If unsure, say N.
80 running KUnit test harness and are not for inclusion into a
81 production build.
82
83 For more information on KUnit and unit tests in general please refer
84 to the KUnit documentation in Documentation/dev-tools/kunit/.
85
86 If unsure, say N.