diff options
author | Andreas Blaesius <skate4life@gmx.de> | 2016-10-29 16:39:13 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-10-29 16:43:33 +0200 |
commit | b8ca62b6e31bed24dd9f8e3162020d1de33b53d9 (patch) | |
tree | 4b2629f50473b5a2ab70afc5e8bd553b7d9580af | |
parent | 2a7f9e49089325221b08bcf32df595214ecab759 (diff) | |
download | device_samsung_espressowifi-b8ca62b6e31bed24dd9f8e3162020d1de33b53d9.zip device_samsung_espressowifi-b8ca62b6e31bed24dd9f8e3162020d1de33b53d9.tar.gz device_samsung_espressowifi-b8ca62b6e31bed24dd9f8e3162020d1de33b53d9.tar.bz2 |
sepolicy: move custom policy into own subdir
Change-Id: I1fe5e299159d206c9206452cfc490e81c2cc21b9
-rw-r--r-- | BoardConfigCM.mk | 4 | ||||
-rw-r--r-- | sepolicy-custom/file_contexts | 2 | ||||
-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_contexts | 3 |
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 |