mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] security/apparmor/lsm.c: set debug messages
@ 2017-01-17  8:25 Valentin Rothberg
  2017-01-18  0:27 ` John Johansen
  0 siblings, 1 reply; 2+ messages in thread
From: Valentin Rothberg @ 2017-01-17  8:25 UTC (permalink / raw)
  To: john.johansen
  Cc: james.l.morris, serge, linux-security-module, linux-kernel,
	Valentin Rothberg

Add the _APPARMOR substring to reference the intended Kconfig option.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next)

 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 0e39dd3b8805..8d21bc2f45ba 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.11.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] security/apparmor/lsm.c: set debug messages
  2017-01-17  8:25 [PATCH] security/apparmor/lsm.c: set debug messages Valentin Rothberg
@ 2017-01-18  0:27 ` John Johansen
  0 siblings, 0 replies; 2+ messages in thread
From: John Johansen @ 2017-01-18  0:27 UTC (permalink / raw)
  To: Valentin Rothberg
  Cc: james.l.morris, serge, linux-security-module, linux-kernel

On 01/17/2017 12:25 AM, Valentin Rothberg wrote:
> Add the _APPARMOR substring to reference the intended Kconfig option.
> 
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>

sigh, yep.

Acked-by: John Johansen <john.johansen@canonical.com>

I have pulled it into my tree

> ---
> Detected by using ./scripts/checkkconfigsymbols.py (--diff on linux-next)
> 
>  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 0e39dd3b8805..8d21bc2f45ba 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 */
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-18  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17  8:25 [PATCH] security/apparmor/lsm.c: set debug messages Valentin Rothberg
2017-01-18  0:27 ` John Johansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®