]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Initial Import from Fedora. 000
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 1 Jan 2012 14:12:02 +0000 (15:12 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 1 Jan 2012 14:12:02 +0000 (15:12 +0100)
Makefile
config/appconfig-mcs/virtual_domain_context [new file with mode: 0644]
config/appconfig-mcs/virtual_image_context [new file with mode: 0644]
config/appconfig-mls/virtual_domain_context [new file with mode: 0644]
config/appconfig-mls/virtual_image_context [new file with mode: 0644]

index eadfda5d8dc4ffbb63116b7bc570dceff9ac7b88..aaab2dac77f5f94df479550a7b9768127d8fc596 100644 (file)
--- 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 (file)
index 0000000..d387b42
--- /dev/null
@@ -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 (file)
index 0000000..8ab1e27
--- /dev/null
@@ -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 (file)
index 0000000..43c197e
--- /dev/null
@@ -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 (file)
index 0000000..4df7855
--- /dev/null
@@ -0,0 +1,2 @@
+system_u:object_r:virt_image_t:s0
+system_u:object_r:virt_content_t:s0