From patchwork Thu Feb 28 22:43:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Casey Schaufler X-Patchwork-Id: 10834193 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 EB5421805 for ; Thu, 28 Feb 2019 22:44:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEE57290F8 for ; Thu, 28 Feb 2019 22:44:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2C762FB96; Thu, 28 Feb 2019 22:44:45 +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=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 922932FA84 for ; Thu, 28 Feb 2019 22:44:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731381AbfB1Wop (ORCPT ); Thu, 28 Feb 2019 17:44:45 -0500 Received: from sonic307-10.consmr.mail.bf2.yahoo.com ([74.6.134.49]:33446 "EHLO sonic307-10.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731103AbfB1Wop (ORCPT ); Thu, 28 Feb 2019 17:44:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1551393883; bh=ZsUZpEZtwQ2LlXvw3CDUvBCjaKP67jDOCjv0+cURl9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Sub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wrwDoFUxd6g0kjnn1q9xZWDpH7jVsnz6LET7o7PB OAjP2b_eeTu6Pxl4VPKYTOR.8wXSad__rdvvBQlx2GZ98qFFf0zSPqvtqxABNEkX5Ol3tCzLT21D MpVywvIkd2hfC23IkJu8bP0gAW6WPsxtUPT_8Q_UNKsTya.uo2mybxCZEMqhkoqHe0Jkc_9IKvNs C.V20T01mHdPFGJ.laWFRYN.BXipXuz8ml9fZ9FyKqG2mcHHIH1uZzT.29cA7G3WRuujVN71.Wwo BBWnUSBqrFmXRZcUMg_Mjcv6.wuguAHDlZ7WJe3UDIGK9DbG0Qz9iCf6Apyr7yIq6F26hKrWehNn hQUBb7wtneIW8w_u8TA_DXHp.HmhW5bZYGEfa1u57o1dc.BTAUn4WsO8MXAQtQhHLlggHUioZLe9 YybcQ4f61oSCqcPDp8urDo8qhGeADlRMIN5ag0Z13Ffm13bKN7DkFet_a Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Thu, 28 Feb 2019 22:44:43 +0000 Received: from c-67-169-65-224.hsd1.ca.comcast.net (EHLO localhost.localdomain) ([67.169.65.224]) by smtp430.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 41bc5dec9e4ecaa87e9a199cc17828e6; Thu, 28 Feb 2019 22:44:40 +0000 (UTC) From: Casey Schaufler To: jmorris@namei.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org Cc: keescook@chromium.org, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, paul@paul-moore.com Subject: [PATCH 97/97] Smack: Remove the exclusive bit Date: Thu, 28 Feb 2019 14:43:56 -0800 Message-Id: <20190228224356.2608-28-casey@schaufler-ca.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190228224356.2608-1-casey@schaufler-ca.com> References: <20190228224356.2608-1-casey@schaufler-ca.com> Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Smack can now be used with any of the existing security modules, so remove the exclusive bit. 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 885e1799df00..0c15e108726e 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -4727,7 +4727,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, };