Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp15349imm; Thu, 20 Sep 2018 16:39:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ3Do3cKaVw741jm1l5frxbnS8KMVeW+9oETjLsiICkBJqxIxZ9hDPOKbb/n5H58xs5tdtm X-Received: by 2002:a63:510c:: with SMTP id f12-v6mr39311256pgb.30.1537486796548; Thu, 20 Sep 2018 16:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537486796; cv=none; d=google.com; s=arc-20160816; b=OCkE4y6gVpVZDemqvyY0rSE/nl9u19CEdtKkJkQpC6cfEDrWMXMlOeGtooRi/podqz XwuNkbqYJ72wktCchNc86CrBWS2k+Ld+VJtc24UrAxr8KwcPnbxQVs8gslZdOn18/wb9 SmPqYALr7XdRrnd4g9HGDXQWg+m872BkRtLDjL/6NWsL/dotxF1yQpXYuwXT0X3EvzDw U0miGtlYJkioVxomWJm/MGt0g58S/Q0DFApGRPePGvTsBaJ0fAG0VUZtXej42YDCp+rD cB1F5i0Y+ob9VdUtTQQ6ItHOIu5018zHF4VJl6g3a+N2FsAne21R5tM/UJeV49UX6/lr Wj6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=5gFemGCDTfvEi6KpnXAdEqRQLmIouF8wOxCNT5GKBj8=; b=MlsRmxD1iSLX2jBnsasJFe6/HlHDQ77LOMfVSp8TeQs3d6XYvOzgSv39q4IWBRbpua xncAhlIGEGKyDRstL+b98pclqxReU1W85yCrUpXafahViCHU00DOTUQS0GDtTL4oLzu2 hj6zOA5teIIUZPwjOX4kproXp7A0HX4KyCtATY4YegffDruMEcmxkogROieAzO34xC4r ynENbpslfZ1kxSAo34M66KLbPCRnaFbtvkcnJ+CTp8VzJBdqWZQ52B78EXXlIXEBAb0G b1eKnBkmgJywPYP/+dWr9+W+pOCogSnvfhZlqifzztjtM0ssIaAfnNbJs75r8ri6Ua2K chiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=D05R1CbG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o137-v6si28388766pfg.362.2018.09.20.16.39.40; Thu, 20 Sep 2018 16:39:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=D05R1CbG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388604AbeIUFZQ (ORCPT + 99 others); Fri, 21 Sep 2018 01:25:16 -0400 Received: from sonic305-10.consmr.mail.bf2.yahoo.com ([74.6.133.49]:43707 "EHLO sonic305-10.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbeIUFZP (ORCPT ); Fri, 21 Sep 2018 01:25:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1537486756; bh=5gFemGCDTfvEi6KpnXAdEqRQLmIouF8wOxCNT5GKBj8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=D05R1CbGc54SxoB5iffcrkQqxN3xPiiH1mR85PCWNPVohnF94enKVXVFQBVvYopqGTY4h3jMDSHjPi2tez2mBiQiDKoezCXllJpvyWuTYU9BDyDOZ8fIrd8cN4Js+X4OvItVc0UCc3gjM+Gx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EBIMucgMPXvIp0hCwB46lKhHXS4Dq1OTHj brt0cH1YkLkUAVN4TCyLH_FYkEc8TKGWy1ul7ekKlbo1H4MoRdjBl5El3wRE6.DsrOAMDfSPHxDm Cu_Z1vGjEm8Mf8ABEt.SEpuV_wuRgFJgInS0F09FLgQJz4c0J8ijL9I6kkYbMekU7lOeK_suWtK1 pQ5eJfeBumJN7q5MUxnlg5lBajdxhXRhcKtrm Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Thu, 20 Sep 2018 23:39:16 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO [192.168.0.102]) ([67.169.65.224]) by smtp426.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c66bc8791b32c3d33a1e70e70151fc15; Thu, 20 Sep 2018 23:39:16 +0000 (UTC) Subject: Re: [PATCH security-next v2 01/26] LSM: Correctly announce start of LSM initialization To: Kees Cook , James Morris Cc: John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , "Schaufler, Casey" , LSM , Jonathan Corbet , linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180920162338.21060-1-keescook@chromium.org> <20180920162338.21060-2-keescook@chromium.org> From: Casey Schaufler Message-ID: Date: Thu, 20 Sep 2018 16:39:12 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180920162338.21060-2-keescook@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/2018 9:23 AM, Kees Cook wrote: > For a while now, the LSM core has said it was "initializED", rather than > "initializING". This adjust the report to be more accurate (i.e. before > this was reported before any LSMs had been initialized.) > > Signed-off-by: Kees Cook Reviewed-by: Casey Schaufler > --- > security/security.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/security/security.c b/security/security.c > index 736e78da1ab9..4cbcf244a965 100644 > --- a/security/security.c > +++ b/security/security.c > @@ -72,10 +72,11 @@ int __init security_init(void) > int i; > struct hlist_head *list = (struct hlist_head *) &security_hook_heads; > > + pr_info("Security Framework initializing\n"); > + > for (i = 0; i < sizeof(security_hook_heads) / sizeof(struct hlist_head); > i++) > INIT_HLIST_HEAD(&list[i]); > - pr_info("Security Framework initialized\n"); > > /* > * Load minor LSMs, with the capability module always first.