Skip to contentSkip to conversation

security/apparmor/lsm.c: set debug messages

PATCH In review Valentin Rothberg 2 participants 2 messages Jan 17, 2017 – Jan 18, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 security/apparmor/lsm.c: set debug messages

Add the _APPARMOR substring to reference the intended Kconfig option.

---
Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next)

 security/apparmor/lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/apparmor/lsm.c +1 -1
index 0e39dd3b8805..8d21bc2f45ba 100644
@@ -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 */
Signature · 1 line
2.11.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Valentin Rothberg

Add the _APPARMOR substring to reference the intended Kconfig option.

sigh, yep.

I have pulled it into my tree

Quoted 20 lines

---
Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next)

 security/apparmor/lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/apparmor/lsm.c +1 -1
index 0e39dd3b8805..8d21bc2f45ba 100644
@@ -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 */