Merge "sepolicy[3/8]: Fix asec mounting" into android-4.4
diff --git a/sepolicy/file.te b/sepolicy/file.te
new file mode 100644
index 0000000..c8abd2e
--- /dev/null
+++ b/sepolicy/file.te
@@ -0,0 +1,6 @@
+###########################
+# OmniROM common sepolicy
+#
+
+# Support asec containers getting mounted
+allow file_type rootfs:filesystem associate;
diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk
index c2c91c1..6d81317 100644
--- a/sepolicy/sepolicy.mk
+++ b/sepolicy/sepolicy.mk
@@ -7,5 +7,6 @@
     vendor/omni/sepolicy
 
 BOARD_SEPOLICY_UNION += \
+    file.te \
     mac_permissions.xml \
 	vold.te