aboutsummaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file.te4
-rw-r--r--sepolicy/file_contexts4
-rw-r--r--sepolicy/system_server.te5
3 files changed, 0 insertions, 13 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 486a6d0..318a7b8 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -11,7 +11,3 @@ type sysfs_pcie, sysfs_type, fs_type, mlstrustedobject;
type sysfs_wifi, sysfs_type, fs_type, mlstrustedobject;
type sysfs_scsi_devices_0000, sysfs_type, fs_type;
type sysfs_doubletap, sysfs_type, fs_type;
-
-# /vendor
-type idc_file, file_type, vendor_file_type;
-type keylayout_file, file_type, vendor_file_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 414dad0..1163cb9 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -23,10 +23,6 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.zuk_8996 u:object_r:hal_lineage_touch_default_exec:s0
-# Misc files on /vendor
-/(vendor|system/vendor)/usr/idc(/.*)? u:object_r:idc_file:s0
-/(vendor|system/vendor)/usr/keylayout(/.*)? u:object_r:keylayout_file:s0
-
# Sys files
/sys/devices/soc/soc:fpc1020(/.*)? u:object_r:sysfs_fingerprint:s0
/sys/devices/soc/soc:fpc1020/enable_wakeup u:object_r:sysfs_fingerprint:s0
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index d2f7240..0c7fbe6 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,7 +1,2 @@
get_prop(system_server, vendor_alarm_boot_prop)
allow system_server sysfs_vibrator:file read;
-
-# /vendor/usr/keylayout
-r_dir_file(system_server, idc_file)
-# /vendor/usr/idc
-r_dir_file(system_server, keylayout_file)