Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1618040

[PATCH 2/6] security/apparmor/lsm.c: set debug messages

From John Johansen <john.johansen@canonical.com>
Newsgroups linux.kernel
Subject [PATCH 2/6] security/apparmor/lsm.c: set debug messages
Date 2017-04-06 16:00 +0200
Message-ID <ttg78-MK-45@gated-at.bofh.it> (permalink)
References <ttg77-MK-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Valentin Rothberg <valentinrothberg@gmail.com>

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>
---
 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 709eacd..5f7d4dd 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.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL] AppArmor fixes for 4.12 John Johansen <john.johansen@canonical.com> - 2017-04-06 16:00 +0200
  [PATCH 3/6] apparmor: use SHASH_DESC_ON_STACK John Johansen <john.johansen@canonical.com> - 2017-04-06 16:00 +0200
  [PATCH 1/6] apparmor: fix boolreturn.cocci warnings John Johansen <john.johansen@canonical.com> - 2017-04-06 16:00 +0200
  [PATCH 2/6] security/apparmor/lsm.c: set debug messages John Johansen <john.johansen@canonical.com> - 2017-04-06 16:00 +0200
  Re: [GIT PULL] AppArmor fixes for 4.12 James Morris <jmorris@namei.org> - 2017-04-07 01:00 +0200

csiph-web