[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170117082538.4008-1-valentinrothberg@gmail.com>
Date: Tue, 17 Jan 2017 09:25:38 +0100
From: Valentin Rothberg <valentinrothberg@...il.com>
To: john.johansen@...onical.com
Cc: james.l.morris@...cle.com, serge@...lyn.com,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org,
Valentin Rothberg <valentinrothberg@...il.com>
Subject: [PATCH] security/apparmor/lsm.c: set debug messages
Add the _APPARMOR substring to reference the intended Kconfig option.
Signed-off-by: Valentin Rothberg <valentinrothberg@...il.com>
---
Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next)
security/apparmor/lsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index 0e39dd3b8805..8d21bc2f45ba 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -681,7 +681,7 @@ module_param_named(hash_policy, aa_g_hash_policy, aabool, S_IRUSR | S_IWUSR);
#endif
/* Debug mode */
-bool aa_g_debug = IS_ENABLED(CONFIG_SECURITY_DEBUG_MESSAGES);
+bool aa_g_debug = IS_ENABLED(CONFIG_SECURITY_APPARMOR_DEBUG_MESSAGES);
module_param_named(debug, aa_g_debug, aabool, S_IRUSR | S_IWUSR);
/* Audit mode */
--
2.11.0
Powered by blists - more mailing lists