Message ID | 20181002005505.6112-2-keescook@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-security-module-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3754174A for <patchwork-linux-security-module@patchwork.kernel.org>; Tue, 2 Oct 2018 00:57:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B007E28684 for <patchwork-linux-security-module@patchwork.kernel.org>; Tue, 2 Oct 2018 00:57:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4468286C5; Tue, 2 Oct 2018 00:57:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E17C28684 for <patchwork-linux-security-module@patchwork.kernel.org>; Tue, 2 Oct 2018 00:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726402AbeJBHfi (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Tue, 2 Oct 2018 03:35:38 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:51861 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbeJBHfi (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Tue, 2 Oct 2018 03:35:38 -0400 Received: by mail-it1-f195.google.com with SMTP id 74-v6so992721itw.1 for <linux-security-module@vger.kernel.org>; Mon, 01 Oct 2018 17:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IXAQXo8qYO7Phx51B4l5S6pXkNyNEOESCjmeHP9RP9w=; b=Bnahr/QLCrNsJ8TWSsahdb+QGVVFBbeR/0nyOsALLqJ2T1glx6C6d0tuDJpXi7fbAF PPlxqY6Bck8UXZK7ehNakGpSPOxX5louwwsJaiDYrisK91ErhYgzMImgqRnXwa+k+vkT VyYodMohirOBipctB8pO4zCceRDFTfVL+DLKI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IXAQXo8qYO7Phx51B4l5S6pXkNyNEOESCjmeHP9RP9w=; b=CLQLqYtAl17eNwj1/awkQuiVQ7S7JiE64MImpVQD7G1aNefAbjllZmcSMiYopaeW5W n1NPAz9T+F7zLa3lMoMk6RLDbtz8yVV5E6maDKJOP3kOOj4sgRI2HqLF6ufI2zniBaTh t/lm3Khe0Ohe2dpSVVJE5BEz1jXaYuM7rIWWDNaHGaH7u48Am3b20Xi7Xk5nya4iL3q3 ANK1kyUpkaggIVacH33eJ2qV6iM9fecDN3j1xfbe63ruSIz/hcs1pHi4kHYVuCi884cj GfthSN5vgFKZEdKLUuyTqE0uNma3wJBDH3hUQieCluOPgV/gAXWmPdg5a/eO+ADW4QWI wBOw== X-Gm-Message-State: ABuFfohneUIYpqd/J8tue/qkbKmjp7dhc8eICXZD0NIlREE+jDl8CD8t tZS+MAmES3ZYDMnj82eHmTudjxwqREg= X-Google-Smtp-Source: ACcGV61fF2ffo5hUqIRxzJx+K3m1QqxSM3Gv7EN7ydYx6fijhyJbY+HgSxR+yDBplRklq/QxI6ipaQ== X-Received: by 2002:a63:f711:: with SMTP id x17-v6mr12313817pgh.322.1538441709615; Mon, 01 Oct 2018 17:55:09 -0700 (PDT) Received: from www.outflux.net (173-164-112-133-Oregon.hfc.comcastbusiness.net. [173.164.112.133]) by smtp.gmail.com with ESMTPSA id r205-v6sm20888048pgr.11.2018.10.01.17.55.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Oct 2018 17:55:08 -0700 (PDT) From: Kees Cook <keescook@chromium.org> To: James Morris <jmorris@namei.org> Cc: Kees Cook <keescook@chromium.org>, Casey Schaufler <casey@schaufler-ca.com>, John Johansen <john.johansen@canonical.com>, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, Paul Moore <paul@paul-moore.com>, Stephen Smalley <sds@tycho.nsa.gov>, "Schaufler, Casey" <casey.schaufler@intel.com>, LSM <linux-security-module@vger.kernel.org>, Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH security-next v4 01/32] LSM: Correctly announce start of LSM initialization Date: Mon, 1 Oct 2018 17:54:34 -0700 Message-Id: <20181002005505.6112-2-keescook@chromium.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181002005505.6112-1-keescook@chromium.org> References: <20181002005505.6112-1-keescook@chromium.org> Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: <linux-security-module.vger.kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
LSM: Explict LSM ordering
|
expand
|
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.