Kconfig (14e77332e74603efab8347c89d3cda447c3b97c9) Kconfig (b11e51dd70947107fa4076c6286dce301671afc1)
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

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

101 help
102 This options allows controlling whether apparmor does a full
103 verification of loaded policy. This should not be disabled
104 except for embedded systems where the image is read only,
105 includes policy, and has some form of integrity check.
106 Disabling the check will speed up policy loads.
107
108config 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

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

101 help
102 This options allows controlling whether apparmor does a full
103 verification of loaded policy. This should not be disabled
104 except for embedded systems where the image is read only,
105 includes policy, and has some form of integrity check.
106 Disabling the check will speed up policy loads.
107
108config SECURITY_APPARMOR_KUNIT_TEST
109 bool "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
110 depends on KUNIT=y && SECURITY_APPARMOR
109 tristate "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
110 depends on KUNIT && SECURITY_APPARMOR
111 default KUNIT_ALL_TESTS
112 help
113 This builds the AppArmor KUnit tests.
114
115 KUnit tests run during boot and output the results to the debug log
116 in TAP format (https://testanything.org/). Only useful for kernel devs
117 running KUnit test harness and are not for inclusion into a
118 production build.
119
120 For more information on KUnit and unit tests in general please refer
121 to the KUnit documentation in Documentation/dev-tools/kunit/.
122
123 If unsure, say N.
111 default KUNIT_ALL_TESTS
112 help
113 This builds the AppArmor KUnit tests.
114
115 KUnit tests run during boot and output the results to the debug log
116 in TAP format (https://testanything.org/). Only useful for kernel devs
117 running KUnit test harness and are not for inclusion into a
118 production build.
119
120 For more information on KUnit and unit tests in general please refer
121 to the KUnit documentation in Documentation/dev-tools/kunit/.
122
123 If unsure, say N.