From: Stefan Schantl Date: Sun, 1 Jan 2012 14:12:02 +0000 (+0100) Subject: Initial Import from Fedora. X-Git-Tag: 000^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8acb35516088a26e0535c996f08514939014bb3;p=people%2Fstevee%2Fselinux-policy.git Initial Import from Fedora. --- diff --git a/Makefile b/Makefile index eadfda5d..aaab2dac 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ # # Please see build.conf for policy build options. # +# +VERSION = $(shell git tag 2>/dev/null | head -n1) ######################################## # @@ -673,3 +675,8 @@ endif .PHONY: install-src install-appconfig install-headers generate xml conf html bare tags .SUFFIXES: .SUFFIXES: .c + +.PHONY: dist +dist: + git archive --format=tar --prefix=selinux-policy-$(VERSION)/ HEAD | \ + gzip -9 > selinux-policy-$(VERSION).tar.gz diff --git a/config/appconfig-mcs/virtual_domain_context b/config/appconfig-mcs/virtual_domain_context new file mode 100644 index 00000000..d387b428 --- /dev/null +++ b/config/appconfig-mcs/virtual_domain_context @@ -0,0 +1 @@ +system_u:system_r:svirt_t:s0 diff --git a/config/appconfig-mcs/virtual_image_context b/config/appconfig-mcs/virtual_image_context new file mode 100644 index 00000000..8ab1e27e --- /dev/null +++ b/config/appconfig-mcs/virtual_image_context @@ -0,0 +1,2 @@ +system_u:object_r:svirt_image_t:s0 +system_u:object_r:virt_content_t:s0 diff --git a/config/appconfig-mls/virtual_domain_context b/config/appconfig-mls/virtual_domain_context new file mode 100644 index 00000000..43c197ea --- /dev/null +++ b/config/appconfig-mls/virtual_domain_context @@ -0,0 +1 @@ +system_u:system_r:qemu_t:s0 diff --git a/config/appconfig-mls/virtual_image_context b/config/appconfig-mls/virtual_image_context new file mode 100644 index 00000000..4df78556 --- /dev/null +++ b/config/appconfig-mls/virtual_image_context @@ -0,0 +1,2 @@ +system_u:object_r:virt_image_t:s0 +system_u:object_r:virt_content_t:s0