Message ID | 20181011001846.30964-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 2EF53933 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:19:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17BE42A9E7 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:19:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BC892AAC3; Thu, 11 Oct 2018 00:19:00 +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 AD9462A9E7 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:18:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbeJKHnb (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Thu, 11 Oct 2018 03:43:31 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38492 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeJKHnb (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Thu, 11 Oct 2018 03:43:31 -0400 Received: by mail-pg1-f196.google.com with SMTP id f8-v6so3273525pgq.5 for <linux-security-module@vger.kernel.org>; Wed, 10 Oct 2018 17:18:57 -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=Rf67tOqoUk2qHal3un5WTqorj29nz8AyKs5MTTEF8x/ZfGgp9Nevu8RGAZlQ3thhwM RsbieZUz6RIPFR4ToLKiDTjetcZ8NmL0RrCp4Q4IJ0zOxVW40uKTVHXssxD8mWTvosDg wSQUDbSMKBxoKaeExNhjMwZKiiBj1hzae12BY= 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=ALxuuIf3iLHQCl6kQy8EdGr4dMSPglDOwEdViWss2j3JO+o03d68kxT7v5hBnw4/kU +xhLZSONGuhTZjvj9cnNSMUTejrb6oP5rTGrxqYImdxpEuZK/qwTY49qZ5Zniqabnxkq PqBc3vDbAUu0X206AR2mIGVugqjvrEwn9KzNj4oH/GYXa1mt7ElaU/fZD7fyKsDeeeDU 2Ki9cvtKZP7GQajdDaeJRjeNqIEcRRxn5lhgJ59Xr+U6HNsk8ZxgZX0V4Ei1rmCevqH5 ZLKhLstq1ET8FWh6gJBrCI399/hiLOJJ4JItu4ym38mkiLJHEHSfQq100uF545+N12nl tZZQ== X-Gm-Message-State: ABuFfojCZdgN21gEErq7fPfxLvWaHCb7Q9rHsRdfFR5bITS3As8ssfWN uh5NZdZUtR8iI1t+V/scVlNMtA== X-Google-Smtp-Source: ACcGV62RnoIOY3KKCh95g2kCjaBGDIMamXtAwijS3CkXs2DJ/nhOB3RRG/aRao0uxVeExnhiIBxB7g== X-Received: by 2002:a63:a54f:: with SMTP id r15-v6mr31775160pgu.176.1539217136621; Wed, 10 Oct 2018 17:18:56 -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 t85-v6sm33788445pfi.73.2018.10.10.17.18.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Oct 2018 17:18:52 -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>, Stephen Smalley <sds@tycho.nsa.gov>, Paul Moore <paul@paul-moore.com>, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, Mimi Zohar <zohar@linux.vnet.ibm.com>, Randy Dunlap <rdunlap@infradead.org>, Jordan Glover <Golden_Miller83@protonmail.ch>, LSM <linux-security-module@vger.kernel.org>, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH security-next v5 01/30] LSM: Correctly announce start of LSM initialization Date: Wed, 10 Oct 2018 17:18:17 -0700 Message-Id: <20181011001846.30964-2-keescook@chromium.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181011001846.30964-1-keescook@chromium.org> References: <20181011001846.30964-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 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.