Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752940AbbHCFK6 (ORCPT ); Mon, 3 Aug 2015 01:10:58 -0400 Received: from tundra.namei.org ([65.99.196.166]:33396 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908AbbHCFK4 (ORCPT ); Mon, 3 Aug 2015 01:10:56 -0400 Date: Mon, 3 Aug 2015 15:10:46 +1000 (AEST) From: James Morris To: Salvatore Mesoraca cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, James Morris , Kees Cook , Casey Schaufler , trivial@kernel.org Subject: Re: [PATCH] Adding YAMA hooks also when YAMA is not stacked. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1044 Lines: 35 On Fri, 31 Jul 2015, Salvatore Mesoraca wrote: > Without this patch YAMA will not work at all if it is chosen > as the primary LSM instead of being "stacked". > > Signed-off-by: Salvatore Mesoraca > --- > security/yama/yama_lsm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c > index 9ed3250..5ebb896 100644 > --- a/security/yama/yama_lsm.c > +++ b/security/yama/yama_lsm.c > @@ -406,6 +406,7 @@ static __init int yama_init(void) > */ > if (!security_module_enable("yama")) > return 0; > + yama_add_hooks(); > #endif > pr_info("Yama: becoming mindful.\n"); It looks like your mailer is converting tabs to spaces, please fix and resend. -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/