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


Groups > linux.kernel > #1560346 > unrolled thread

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

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2017-01-17 09:30 +0100
Last post2017-01-18 01:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] security/apparmor/lsm.c: set debug messages Valentin Rothberg <valentinrothberg@gmail.com> - 2017-01-17 09:30 +0100
    Re: [PATCH] security/apparmor/lsm.c: set debug messages John Johansen <john.johansen@canonical.com> - 2017-01-18 01:50 +0100

#1560346 — [PATCH] security/apparmor/lsm.c: set debug messages

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2017-01-17 09:30 +0100
Subject[PATCH] security/apparmor/lsm.c: set debug messages
Message-ID<t0xjs-4DL-13@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1561185

FromJohn Johansen <john.johansen@canonical.com>
Date2017-01-18 01:50 +0100
Message-ID<t0MBP-5zP-5@gated-at.bofh.it>
In reply to#1560346
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 */
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web