[PATCH] apparmor: Remove obsolete config SECURITY_APPARMOR_DEBUG_MESSAGES

Lukas Bulwahn lbulwahn at redhat.com
Wed May 14 07:14:00 UTC 2025


From: Lukas Bulwahn <lukas.bulwahn at redhat.com>

Commit 71e6cff3e0dd ("apparmor: Improve debug print infrastructure") makes
the config option SECURITY_APPARMOR_DEBUG_MESSAGES have no remaining
effect.

Remove the obsolete config option.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn at redhat.com>
---
 security/apparmor/Kconfig | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/security/apparmor/Kconfig b/security/apparmor/Kconfig
index 64cc3044a42c..3cdea783b6df 100644
--- a/security/apparmor/Kconfig
+++ b/security/apparmor/Kconfig
@@ -35,15 +35,6 @@ config SECURITY_APPARMOR_DEBUG_ASSERTS
 	  points. If the assert is triggered it will trigger a WARN
 	  message.
 
-config SECURITY_APPARMOR_DEBUG_MESSAGES
-	bool "Debug messages enabled by default"
-	depends on SECURITY_APPARMOR_DEBUG
-	default n
-	help
-	  Set the default value of the apparmor.debug kernel parameter.
-	  When enabled, various debug messages will be logged to
-	  the kernel message buffer.
-
 config SECURITY_APPARMOR_INTROSPECT_POLICY
 	bool "Allow loaded policy to be introspected"
 	depends on SECURITY_APPARMOR
-- 
2.49.0




More information about the Linux-security-module-archive mailing list