All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] Add recipe to build the MCS refpolicy.
@ 2013-10-29 23:44 Philip Tricca
  2013-10-30 14:20 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Tricca @ 2013-10-29 23:44 UTC (permalink / raw)
  To: yocto

This is the default policy type used by most (all?) distros that
support SELinux.

Signed-off-by: Philip Tricca <flihp@twobit.us>
---
 .../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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-30 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 23:44 [meta-selinux][PATCH] Add recipe to build the MCS refpolicy Philip Tricca
2013-10-30 14:20 ` Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.