security/apparmor/lsm.c: set debug messages
authorValentin Rothberg <valentinrothberg@gmail.com>
Thu, 6 Apr 2017 13:55:20 +0000 (06:55 -0700)
committerJames Morris <james.l.morris@oracle.com>
Thu, 6 Apr 2017 22:58:35 +0000 (08:58 +1000)
Add the _APPARMOR substring to reference the intended Kconfig option.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/apparmor/lsm.c

index e287b691a30e4a205e9253e60e44e3a80793908e..4aa944794c7bf566f29707e4a6d7e3b9ab3af2b8 100644 (file)
@@ -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 */