From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751593AbdARAsH (ORCPT ); Tue, 17 Jan 2017 19:48:07 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:44208 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbdARArj (ORCPT ); Tue, 17 Jan 2017 19:47:39 -0500 Subject: Re: [PATCH] security/apparmor/lsm.c: set debug messages To: Valentin Rothberg References: <20170117082538.4008-1-valentinrothberg@gmail.com> Cc: james.l.morris@oracle.com, serge@hallyn.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org From: John Johansen Organization: Canonical Message-ID: <6223adf6-28ba-50ac-ada3-91b2a4df32db@canonical.com> Date: Tue, 17 Jan 2017 16:27:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170117082538.4008-1-valentinrothberg@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 sigh, yep. Acked-by: John Johansen 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 */ >