Message ID | 20181011001846.30964-5-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 49423933 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:20:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 338AC2ABF0 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:20:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 279E82ACBE; Thu, 11 Oct 2018 00:20:34 +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 C9D672ABF0 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 11 Oct 2018 00:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbeJKHnc (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Thu, 11 Oct 2018 03:43:32 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:43284 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbeJKHna (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Thu, 11 Oct 2018 03:43:30 -0400 Received: by mail-pf1-f194.google.com with SMTP id p24-v6so3433050pff.10 for <linux-security-module@vger.kernel.org>; Wed, 10 Oct 2018 17:18:56 -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=6eNmHSp4+Q45IaDkZQNXs6+kAcMRIeE3x4RWtQQ9mBQ=; b=DYvDVjc7Xan2EP/iEUqXrj2yKnSYlFhkr34DGSQencgIOy831Os9HD8kGEcDUqRW2h UOL8vxl7DRRzpkbIlRy98nY2vb37prMlBtAdV5CW1oBx4Fcq9fOA0MMLfYvLGRJNoexU bCKXaqd5HJ3BxFRz5OUOZpuy6tl1f0EMKGnbw= 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=6eNmHSp4+Q45IaDkZQNXs6+kAcMRIeE3x4RWtQQ9mBQ=; b=khYEIgVBYkVag2vMPdMdc3mCQP8I2YqnwNd9l2ZWU+O/GCapTSXqf37hh0/Xg9CVwe uPUylfNbgpg7BLYkfPRonTKPai+cESKvJG93zU9BdZ8n1I63X5lepyLHfAQlEBLgcrhK lhz7DGJHayd+QCUyE3Q6MIlg8ArCZtZsLBSvjSavOrtCCGkBUb2ZtzaMAHilWP30PiDi IWMMOqZDXQmPslkwA5wNUNVYl4rk+qHW0gfwD5sCsDF80Vheu64VlzE/M/3ylGlZL6ke +nOtx7SKTF4PCpf6H9dxkAclJxhuey/szVrQQmLWgOSnYfeFS6AKT1yEy5UuJkEeMV6S 7cNg== X-Gm-Message-State: ABuFfohqCvHD7sa42Pe/1EhOZHNqFT99sr+6qQhiu/iQCINfCsYt1aUM 5gfWsXM6emcxEa9VUJ9SbrUIkQ== X-Google-Smtp-Source: ACcGV63dDeOHLSBcNV01IpVUAP0l7q9lWEPVHsR2O3jUsO5dLyP0b5mqaSyhlTir4maRP3nKsSTw+g== X-Received: by 2002:a63:5605:: with SMTP id k5-v6mr31688220pgb.189.1539217135713; Wed, 10 Oct 2018 17:18:55 -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 72-v6sm49719749pfr.115.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 04/30] LSM: Remove initcall tracing Date: Wed, 10 Oct 2018 17:18:20 -0700 Message-Id: <20181011001846.30964-5-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 892fe6b691cf..41a5da2c7faf 100644 --- a/security/security.c +++ b/security/security.c @@ -30,8 +30,6 @@ #include <linux/string.h> #include <net/flow.h> -#include <trace/events/initcall.h> - #define MAX_LSM_EVM_XATTR 2 /* Maximum number of letters for an LSM name string */ @@ -47,17 +45,13 @@ static __initdata char chosen_lsm[SECURITY_NAME_MAX + 1] = static void __init do_security_initcalls(void) { - int ret; initcall_t call; initcall_entry_t *ce; ce = __start_lsm_info; - trace_initcall_level("security"); while (ce < __end_lsm_info) { call = initcall_from_entry(ce); - trace_initcall_start(call); - ret = call(); - trace_initcall_finish(call, ret); + call(); ce++; } }