Message ID | 20190602165101.25079-59-casey@schaufler-ca.com (mailing list archive) |
---|---|
State | Superseded |
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 BA7856C5 for <patchwork-selinux@patchwork.kernel.org>; Sun, 2 Jun 2019 16:54:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A93491FF40 for <patchwork-selinux@patchwork.kernel.org>; Sun, 2 Jun 2019 16:54:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D9FE289FA; Sun, 2 Jun 2019 16:54:49 +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=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 55FA11FF40 for <patchwork-selinux@patchwork.kernel.org>; Sun, 2 Jun 2019 16:54:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727122AbfFBQyt (ORCPT <rfc822;patchwork-selinux@patchwork.kernel.org>); Sun, 2 Jun 2019 12:54:49 -0400 Received: from sonic303-8.consmr.mail.bf2.yahoo.com ([74.6.131.47]:41144 "EHLO sonic303-8.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727118AbfFBQys (ORCPT <rfc822;selinux@vger.kernel.org>); Sun, 2 Jun 2019 12:54:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1559494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jFmf2bVX_3xZCaFUVSYXLV4eN7aGlsAOdebIOHRy.AxSPQ 1S8i2b8GMPRUXzbhYTxsIGiGX5U7qHybZ6t0IV6HBUkwAoLVNJk_i5YVrLZOAtHMs2LF3XqxHZbJ Ic80hzOe5KISt02it6lyZVcpTpS7zv3pVWQ6QjVFnb0GWaHjtWlZOyfOL6dMifiUAt46fWXDmOtw g7l9yPFbNUQA0oU2hij5AmaRIEvpOysc66JWGsP7tsWbkYraarMocx6CNgS3Lf17zhZq.Bnmi8x9 JqI6IKYC6ho1GlFNQ24Vyyf8LKy3Km0mipZSE5XnWGx2f0W_4kuX23.4RwR3Pzx17Ogg08Ofm3_e QNaovBUZNPU.8FBSiaw9ZKDW9WQD8p5Pj5PbUEL016JIyxcGPcBs8Ct9Hh5mCEYF6EMp8lt_r2qL 4Rq2tEfmlBOu96PnUGbsjdmDDiN8NTIkXukGYq4AXqhRlBplrqFc0pCWbeisrUtFuKB1KQnn70zh 1o3nboOB7p2SEleEHP5Re3znOHEXwjC50UyG482LUaBi0HBdO_JTDxZMsLZKbDU223uF8rC1wiHV w1J3FYPnNmAj7dG7EWIwz2DEHhUu1bG23SZ6eMxzY2N9Qpqcg.i8CT_gcd5Pvs8dQw1OS9Y1shJg o1BfezTb4hVZB7eDSEjLqJWiRyrUvLcgvRSRQLdNbm0AcSXdDnTF1I3A- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Sun, 2 Jun 2019 16:54:47 +0000 Received: from c-73-223-4-185.hsd1.ca.comcast.net (EHLO localhost.net) ([73.223.4.185]) by smtp411.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4f202846722f9a871dab498da8fe7ef4; Sun, 02 Jun 2019 16:54:43 +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, keescook@chromium.org, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, paul@paul-moore.com, sds@tycho.nsa.gov Subject: [PATCH 58/58] AppArmor: Remove the exclusive flag Date: Sun, 2 Jun 2019 09:51:01 -0700 Message-Id: <20190602165101.25079-59-casey@schaufler-ca.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190602165101.25079-1-casey@schaufler-ca.com> References: <20190602165101.25079-1-casey@schaufler-ca.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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/apparmor/lsm.c b/security/apparmor/lsm.c index 771b0ae24a5f..a8b11a7f29fa 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -1705,7 +1705,7 @@ static int __init apparmor_init(void) DEFINE_LSM(apparmor) = { .name = "apparmor", - .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE, + .flags = LSM_FLAG_LEGACY_MAJOR, .enabled = &apparmor_enabled, .blobs = &apparmor_blob_sizes, .init = apparmor_init,
With the inclusion of the "display" process attribute mechanism AppArmor no longer needs to be treated as an "exclusive" security module. Remove the flag that indicates it is exclusive. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)