Return-Path: Received: from smtp.twobit.us (unknown [38.83.192.235]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 36E1BE0179A for ; Tue, 29 Oct 2013 16:44:18 -0700 (PDT) Received: from c-76-24-20-220.hsd1.ma.comcast.net ([76.24.20.220] helo=localhost) by smtp.twobit.us with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VbIxJ-0005vi-79; Tue, 29 Oct 2013 23:44:15 +0000 Received: from flihp by localhost with local (Exim 4.80) (envelope-from ) id 1VbIxS-0001xi-Uf; Tue, 29 Oct 2013 23:44:22 +0000 From: Philip Tricca To: yocto@yoctoproject.org Date: Tue, 29 Oct 2013 23:44:22 +0000 Message-Id: <1383090262-7512-1-git-send-email-flihp@twobit.us> X-Mailer: git-send-email 1.7.10.4 X-SA-Exim-Connect-IP: 76.24.20.220 X-SA-Exim-Mail-From: flihp@twobit.us X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on smtp.twobit.us X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,URI_HEX autolearn=no version=3.3.2 X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on smtp.twobit.us) Subject: [meta-selinux][PATCH] Add recipe to build the MCS refpolicy. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 23:44:19 -0000 This is the default policy type used by most (all?) distros that support SELinux. Signed-off-by: Philip Tricca --- .../refpolicy/refpolicy-mcs_2.20130424.bb | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb diff --git a/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb b/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb new file mode 100644 index 0000000..38b78f1 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb @@ -0,0 +1,23 @@ +SUMMARY = "MCS (Multi Category Security) variant of the SELinux policy" +DESCRIPTION = "\ +This is the reference policy for SE Linux built with MCS support. \ +An MCS policy is the same as an MLS policy but with only one sensitivity \ +level. This is useful on systems where a hierarchical policy (MLS) isn't \ +needed (pretty much all systems) but the non-hierarchical categories are. \ +" + +PR = "r0" + +POLICY_NAME = "mcs" +POLICY_TYPE = "mcs" +POLICY_DISTRO = "redhat" +POLICY_UBAC = "n" +POLICY_UNK_PERMS = "allow" +POLICY_DIRECT_INITRC = "n" +POLICY_MONOLITHIC = "n" +POLICY_CUSTOM_BUILDOPT = "" +POLICY_QUIET = "y" + +POLICY_MCS_CATS = "1024" + +include refpolicy_${PV}.inc -- 1.7.10.4