aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCM.mk4
-rw-r--r--sepolicy-custom/file_contexts2
-rw-r--r--sepolicy-custom/property.te (renamed from sepolicy/property.te)0
-rw-r--r--sepolicy-custom/property_contexts (renamed from sepolicy/property_contexts)0
-rw-r--r--sepolicy-custom/variant_setup.te (renamed from sepolicy/variant_setup.te)0
-rw-r--r--sepolicy/file_contexts3
6 files changed, 6 insertions, 3 deletions
diff --git a/BoardConfigCM.mk b/BoardConfigCM.mk
index e36c6f3..4da4670 100644
--- a/BoardConfigCM.mk
+++ b/BoardConfigCM.mk
@@ -10,3 +10,7 @@ TARGET_PROVIDES_LIBLIGHT := true
# Recovery
TARGET_RECOVERY_DEVICE_DIRS += device/samsung/espressowifi
BOARD_HAS_DOWNLOAD_MODE := true
+
+# SELinux
+BOARD_SEPOLICY_DIRS += \
+ device/samsung/espressowifi/sepolicy-custom
diff --git a/sepolicy-custom/file_contexts b/sepolicy-custom/file_contexts
new file mode 100644
index 0000000..d32d657
--- /dev/null
+++ b/sepolicy-custom/file_contexts
@@ -0,0 +1,2 @@
+# variant setup
+/system/bin/init\.espresso\.variant\.sh u:object_r:variant_setup_exec:s0
diff --git a/sepolicy/property.te b/sepolicy-custom/property.te
index a6ba71b..a6ba71b 100644
--- a/sepolicy/property.te
+++ b/sepolicy-custom/property.te
diff --git a/sepolicy/property_contexts b/sepolicy-custom/property_contexts
index 69ad081..69ad081 100644
--- a/sepolicy/property_contexts
+++ b/sepolicy-custom/property_contexts
diff --git a/sepolicy/variant_setup.te b/sepolicy-custom/variant_setup.te
index b4072ca..b4072ca 100644
--- a/sepolicy/variant_setup.te
+++ b/sepolicy-custom/variant_setup.te
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 130d760..2e67789 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -28,9 +28,6 @@
# Firmwares
/system/vendor/firmware/ducati-m3.bin u:object_r:firmware_ducati:s0
-# variant setup
-/system/bin/init\.espresso\.variant\.sh u:object_r:variant_setup_exec:s0
-
# Block devices
/dev/block/mmcblk0 u:object_r:root_block_device:s0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS u:object_r:efs_block_device:s0