summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorValentin Rothberg <valentinrothberg@gmail.com>2017-04-06 06:55:20 -0700
committerJames Morris <james.l.morris@oracle.com>2017-04-07 08:58:35 +1000
commiteea7a05f1937b585cf53c6d53a4dd88fcb398eb8 (patch)
treec813c4a003c110eaa7104208145981eb1c2ba399 /security
parentb9c42ac76ea13ab6d07681ff3079b3a242333764 (diff)
security/apparmor/lsm.c: set debug messages
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>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index e287b691a30e..4aa944794c7b 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 */