From e5d3e744a12f9b5b82200910bf10d605340481b2 Mon Sep 17 00:00:00 2001 From: pix106 Date: Tue, 15 Mar 2022 09:09:58 +0100 Subject: [PATCH] clover: sepolicy: Move sepolicy back to common Signed-off-by: pix106 --- BoardConfig.mk | 5 ----- sepolicy/vendor/file_contexts | 4 ---- sepolicy/vendor/init.te | 6 ------ 3 files changed, 15 deletions(-) delete mode 100644 sepolicy/vendor/file_contexts delete mode 100644 sepolicy/vendor/init.te diff --git a/BoardConfig.mk b/BoardConfig.mk index cb26a2f..4e85f26 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -28,11 +28,6 @@ BOARD_VENDOR_PLATFORM := xiaomi-sdm660 # Properties TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop -# SELinux -BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor -SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public -SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private - # Vendor Security patch level VENDOR_SECURITY_PATCH := 2020-08-05 diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts deleted file mode 100644 index 46be8b6..0000000 --- a/sepolicy/vendor/file_contexts +++ /dev/null @@ -1,4 +0,0 @@ -# Tap to Wake -/sys/devices/platform/soc/c177000.i2c/i2c-3/3-005d/enable_dt2w u:object_r:sysfs_touchpanel:s0 -/sys/devices/platform/soc/c177000.i2c/i2c-3/3-0038/enable_dt2w u:object_r:sysfs_touchpanel:s0 -/proc/touchscreen/enable_dt2w u:object_r:sysfs_touchpanel:s0 diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te deleted file mode 100644 index e99aeeb..0000000 --- a/sepolicy/vendor/init.te +++ /dev/null @@ -1,6 +0,0 @@ -allow init system_file:file mounton; -allow init { - vendor_configs_file - vendor_framework_file - vendor_app_file -}:file mounton;