Merge tag 'apparmor-pr-2022-12-14' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / security / apparmor / Kconfig
index acac3bb3eef2b31bff95a5cd77c7fcb018216ce2..e0d1dd0a192a9d944d9e78d4fe09076500004682 100644 (file)
@@ -106,8 +106,8 @@ config SECURITY_APPARMOR_PARANOID_LOAD
          Disabling the check will speed up policy loads.
 
 config SECURITY_APPARMOR_KUNIT_TEST
-       bool "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
-       depends on KUNIT=y && SECURITY_APPARMOR
+       tristate "Build KUnit tests for policy_unpack.c" if !KUNIT_ALL_TESTS
+       depends on KUNIT && SECURITY_APPARMOR
        default KUNIT_ALL_TESTS
        help
          This builds the AppArmor KUnit tests.