diff --git a/sepolicy/vendor/device.te b/sepolicy/vendor/device.te index b3384df..17040bd 100644 --- a/sepolicy/vendor/device.te +++ b/sepolicy/vendor/device.te @@ -10,4 +10,3 @@ type reserve1_block_device, dev_type; type reserve2_block_device, dev_type; type therm_device, dev_type; type vl53l1_device, dev_type; -type wlchg_device, dev_type; diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index db2cd63..74ffd59 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -4,7 +4,6 @@ /(vendor|system/vendor)/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0 /(vendor|system/vendor)/bin/vl53l1_daemon_main u:object_r:vl53l1_daemon_main_exec:s0 /(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi-mac-generator_exec:s0 -/(vendor|system/vendor)/bin/wlchgd u:object_r:wlchgd_exec:s0 # Block devices /dev/block/platform/soc/1d84000.ufshc/by-name/config u:object_r:frp_block_device:s0 @@ -44,7 +43,6 @@ /dev/param u:object_r:param_device:s0 /dev/skin_thermal u:object_r:therm_device:s0 /dev/stmvl53l1_ranging u:object_r:vl53l1_device:s0 -/dev/wlchg u:object_r:wlchg_device:s0 # HALs /(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.oneplus u:object_r:hal_fingerprint_default_exec:s0 diff --git a/sepolicy/vendor/wlchgd.te b/sepolicy/vendor/wlchgd.te deleted file mode 100644 index ab98f5f..0000000 --- a/sepolicy/vendor/wlchgd.te +++ /dev/null @@ -1,7 +0,0 @@ -type wlchgd, domain; -type wlchgd_exec, exec_type, vendor_file_type, file_type; - -init_daemon_domain(wlchgd) - -allow wlchgd kmsg_device:chr_file rw_file_perms; -allow wlchgd wlchg_device:chr_file rw_file_perms;