summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Tricca <flihp@twobit.us>2013-10-29 23:44:22 +0000
committerJoe MacDonald <joe@deserted.net>2013-10-30 10:05:18 -0400
commit52e13930757b5b986b40a6e2cb58e40bbe5758b7 (patch)
treee3d033c0fa791201410b9c2f654e1724067a0572
parentdfdf551481ced8a8f24ac79addb209ebd90d5375 (diff)
downloadmeta-selinux-52e13930757b5b986b40a6e2cb58e40bbe5758b7.tar.gz
Add recipe to build the MCS refpolicy.
This is the default policy type used by most (all?) distros that support SELinux. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r--recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb23
1 files changed, 23 insertions, 0 deletions
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 @@
1SUMMARY = "MCS (Multi Category Security) variant of the SELinux policy"
2DESCRIPTION = "\
3This is the reference policy for SE Linux built with MCS support. \
4An MCS policy is the same as an MLS policy but with only one sensitivity \
5level. This is useful on systems where a hierarchical policy (MLS) isn't \
6needed (pretty much all systems) but the non-hierarchical categories are. \
7"
8
9PR = "r0"
10
11POLICY_NAME = "mcs"
12POLICY_TYPE = "mcs"
13POLICY_DISTRO = "redhat"
14POLICY_UBAC = "n"
15POLICY_UNK_PERMS = "allow"
16POLICY_DIRECT_INITRC = "n"
17POLICY_MONOLITHIC = "n"
18POLICY_CUSTOM_BUILDOPT = ""
19POLICY_QUIET = "y"
20
21POLICY_MCS_CATS = "1024"
22
23include refpolicy_${PV}.inc