From: Valentin Rothberg Date: Thu, 6 Apr 2017 13:55:20 +0000 (-0700) Subject: security/apparmor/lsm.c: set debug messages X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eea7a05f1937b585cf53c6d53a4dd88fcb398eb8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git security/apparmor/lsm.c: set debug messages Add the _APPARMOR substring to reference the intended Kconfig option. Signed-off-by: Valentin Rothberg Signed-off-by: John Johansen Signed-off-by: James Morris --- 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 */