Message ID | 20190409213946.1667-56-casey@schaufler-ca.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-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 CF6B317EF for <patchwork-selinux@patchwork.kernel.org>; Tue, 9 Apr 2019 21:41:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C180728857 for <patchwork-selinux@patchwork.kernel.org>; Tue, 9 Apr 2019 21:41:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5F1B28862; Tue, 9 Apr 2019 21:41:58 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 7640F285C6 for <patchwork-selinux@patchwork.kernel.org>; Tue, 9 Apr 2019 21:41:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbfDIVl6 (ORCPT <rfc822;patchwork-selinux@patchwork.kernel.org>); Tue, 9 Apr 2019 17:41:58 -0400 Received: from sonic304-28.consmr.mail.ne1.yahoo.com ([66.163.191.154]:37721 "EHLO sonic304-28.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbfDIVl5 (ORCPT <rfc822;selinux@vger.kernel.org>); Tue, 9 Apr 2019 17:41:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1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h.Ni7VoZYz.0roUziM0M8uxXRtaLkH5AJ2vUvBUv67klSR EpxPyDKyiGOrLzbQTfhvMMTXtcOuPdV.v2Nol8aAtYhQFzqfGAZ979DfVf2ZTRwWUIHifkOoZJ8C Mrjt577RWO1A3kiShQeya2uFR2HQG7XwTTywS209R2qnpUXMDjpyNHzU2yRzl9DMdEDTCXk0Ierl FZJM9Uy58WrnZlYPF_7DpJrr4CIStpZ95YSVUuxi_ufnRFPWXYDGVU9sZZuP6ygiJO3Ql8OmgGmT LFgS2w6TVjsYuRdJx5afyVUh9Ed2dWT6Bwy1JZFrnLxAImlpQ9CTE3QX_C5bmy94pqbziUkWAck0 jkn8yO8ZCgObFiXMNBMZKgFKGC3StOFHeBK.AsaTzKdPySGEX7O9oAvWY5EEyx9CKX2jBi3kUMM4 .4y7yTGZZocn3seDzpRSKzCxDNnVH_biAgDt2XkIBMnu5wkm9qkyRSvVvAG04V6nCZvhM.SBNunw u7nOIGAmWWli.IvqRN1PObYr9N2tJEplsFu9eLKJuvQtBgTGyqsrBTtYRaumAgw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Apr 2019 21:41:44 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO localhost.localdomain) ([67.169.65.224]) by smtp416.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3e563602cfa877b5908e791085320721; Tue, 09 Apr 2019 21:41:27 +0000 (UTC) From: Casey Schaufler <casey@schaufler-ca.com> To: casey.schaufler@intel.com, jmorris@namei.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Cc: casey@schaufler-ca.com Subject: [PATCH 55/59] LSM: Remove unused macro Date: Tue, 9 Apr 2019 14:39:42 -0700 Message-Id: <20190409213946.1667-56-casey@schaufler-ca.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190409213946.1667-1-casey@schaufler-ca.com> References: <20190409213946.1667-1-casey@schaufler-ca.com> Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: <selinux.vger.kernel.org> X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
LSM: Module stacking for AppArmor
|
expand
|
diff --git a/security/security.c b/security/security.c index 1b4b74af0cb7..ce50054f58a0 100644 --- a/security/security.c +++ b/security/security.c @@ -713,16 +713,6 @@ int lsm_superblock_alloc(struct super_block *sb) P->hook.FUNC(__VA_ARGS__); \ } while (0) -#define call_one_void_hook(FUNC, ...) \ - do { \ - struct security_hook_list *P; \ - \ - hlist_for_each_entry(P, &security_hook_heads.FUNC, list) { \ - P->hook.FUNC(__VA_ARGS__); \ - break; \ - } \ - } while (0) - #define call_int_hook(FUNC, IRC, ...) ({ \ int RC = IRC; \ do { \
The call_one_void_hook macro is unused since the change to how releasing a secctx was made. Remove it. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> --- security/security.c | 10 ---------- 1 file changed, 10 deletions(-)