From patchwork Wed Aug 7 22:42:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Casey Schaufler X-Patchwork-Id: 11082877 Return-Path: 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 E1E6B1399 for ; Wed, 7 Aug 2019 22:43:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D550D28ABA for ; Wed, 7 Aug 2019 22:43:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C980828AD9; Wed, 7 Aug 2019 22:43:20 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 0538228ABA for ; Wed, 7 Aug 2019 22:43:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389635AbfHGWnT (ORCPT ); Wed, 7 Aug 2019 18:43:19 -0400 Received: from sonic317-27.consmr.mail.gq1.yahoo.com ([98.137.66.153]:38148 "EHLO sonic317-27.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389630AbfHGWnT (ORCPT ); Wed, 7 Aug 2019 18:43:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1565217798; bh=Osu6XGAcDFD0M+ySV74N8nqsIlm0gr6gJHIRJiI8EKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=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CB1iYHsiq58OV9_hCLId9A7HI2 ZEkgXvaOd.2cFFEEYDfwrzhWXTcxOhnM6KC_0rCb4GZrffhjNykf968tJzS5CB2AtqckLQUWW9nC K.PZhApBGEmI9kNldkve1brS39gJvG3YxW019yBfb5AEZysbbXzS3oYmKie4K_8ba_qSY3P4PnFG AH_ZAG4KJ0ItM5dLRBQgJAZ8xpNtFJLSSNlvHFSC9CJyD8uxdikmFBupvUG5gmI2JKc5T.BKaq7I FR7t7nKl6cbgRDQ6TWJhpLkywqLkg5A3Iregsoa1zwLWtVBcNNmnGYeVEWxr.IkiGkqFLAWS3q_n k7ng4baWQGE_r0QPsj9ht8O6xu7oKoSwYbf6t4EWvRP4f9SG9muaS6nyuw78aWCqWSWFmI8jS_P_ FvrdJYNFVgQHdY576v7H1TtP2TDfpxTgo9xdKh9mTzCf8JPJDueIERmja45xHeqwv94JdxpVTyWS w5NUq3i7zPfU4t3iQsAc1vtuASSz4CIJeL9A78KbZia0hv1vfs4mqxTUw6LJN0kopO0gi.uw5uvi Df_FMtM3JDpH17tPgiSrcs6kmgBMDG1y0R5NfV.X9YyXecd5cvlywNcsJiawgVDYrwqeGeTELKLG eeLpE Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Wed, 7 Aug 2019 22:43:18 +0000 Received: by smtp405.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b31e22a1723893410aaa66faa171513d; Wed, 07 Aug 2019 22:43:17 +0000 (UTC) From: Casey Schaufler To: casey.schaufler@intel.com, jmorris@namei.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Cc: casey@schaufler-ca.com, keescook@chromium.org, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, paul@paul-moore.com, sds@tycho.nsa.gov Subject: [PATCH v7 16/16] Smack: Remove the exclusive flag Date: Wed, 7 Aug 2019 15:42:45 -0700 Message-Id: <20190807224245.10798-18-casey@schaufler-ca.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190807224245.10798-1-casey@schaufler-ca.com> References: <20190807224245.10798-1-casey@schaufler-ca.com> MIME-Version: 1.0 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Smack no longer needs to be treated as an "exclusive" security module. Remove the flag that indicates it is exclusive. Signed-off-by: Casey Schaufler --- security/smack/smack_lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 122c13604d28..3b76ec6cf960 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -4822,7 +4822,7 @@ static __init int smack_init(void) */ DEFINE_LSM(smack) = { .name = "smack", - .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE, + .flags = LSM_FLAG_LEGACY_MAJOR, .blobs = &smack_blob_sizes, .init = smack_init, };