universal8895: sepolicy: remove duplicate types and labels
authorJan Altensen <info@stricted.net>
Fri, 22 Jul 2022 07:18:08 +0000 (09:18 +0200)
committerJan Altensen <info@stricted.net>
Fri, 22 Jul 2022 07:18:08 +0000 (09:18 +0200)
Change-Id: I871474cd883c2b8dc3719c5b3e4158a32e17fce9

sepolicy/vendor/file.te
sepolicy/vendor/file_contexts
sepolicy/vendor/genfs_contexts

index c7b72ca96325fe8f52a5a9f4c8d7094f09e9bef3..1b148d21e6255e51ed05783dd3065e3c2c5f868d 100644 (file)
@@ -29,7 +29,6 @@ type sysfs_batteryinfo_charger_writable, sysfs_type, rw_fs_type, fs_type;
 type sysfs_camera_writable, sysfs_type, rw_fs_type, fs_type;
 type sysfs_decon, sysfs_type, r_fs_type, fs_type;
 type sysfs_gpu, sysfs_type, r_fs_type, fs_type;
-type sysfs_sec_switch, sysfs_type, r_fs_type, fs_type;
 type sysfs_socinfo, sysfs_type, r_fs_type, fs_type;
 type sysfs_v4l, sysfs_type, r_fs_type, fs_type;
 type sysfs_v4l_mfc, sysfs_type, r_fs_type, fs_type;
index 3424af5493e51a0a95442996f633a6bdbdee0756..aee25b56d3a5d2a36805e6fe0fb621cbcaa327fc 100644 (file)
@@ -66,7 +66,6 @@
 
 # mobicore
 /data/misc/mcRegistry(/.*)?        u:object_r:mobicore_data_file:s0
-/data/vendor/mcRegistry(/.*)?      u:object_r:mobicore_vendor_data_file:s0
 
 # camera
 /data/camera(/.*)?                 u:object_r:camera_data_file:s0
index 5952cbff2408fe28624d27c8907e92da7342e0fd..c51ca88987fa22691122a2d32eca73bf2bfa70d4 100644 (file)
@@ -71,7 +71,6 @@ genfscon sysfs /devices/virtual/camera/flash/rear_flash      u:object_r:sysfs_ca
 genfscon sysfs /devices/virtual/input/input3                 u:object_r:sysfs_sensors_writable:s0
 genfscon sysfs /devices/virtual/input/input4                 u:object_r:sysfs_sensors_writable:s0
 
-genfscon sysfs /devices/virtual/sec/switch                          u:object_r:sysfs_sec_switch:s0
 genfscon sysfs /devices/virtual/sec/sensorhub/mcu_power             u:object_r:sysfs_sensorhub_writable:s0
 genfscon sysfs /devices/virtual/usb_notify/usb_control/usb_hw_param u:object_r:sysfs_usb_writable:s0