sm6375-common: sepolicy: Remove unused/incorrect vibrator policies

Change-Id: Icea4523870a36fcf15cf7c8ff8b0643af00af8d4
This commit is contained in:
Michael Bestas
2025-05-01 12:29:12 +03:00
parent 72fbe0ec19
commit cc49c72b58
5 changed files with 0 additions and 13 deletions

View File

@@ -37,6 +37,3 @@ type vendor_sysfs_touchpanel, fs_type, sysfs_type;
# V4L2 Name
type vendor_sysfs_v4l2_name, fs_type, sysfs_type;
# Vibrator
type vendor_sysfs_vibrator, fs_type, sysfs_type;

View File

@@ -94,9 +94,6 @@
/sys/devices/platform/soc/soc:qcom,cam-sync/video4linux/video([0-9])+/name u:object_r:vendor_sysfs_v4l2_name:s0
/sys/devices/platform/soc/soc:qcom,cam-req-mgr/video4linux/video([0-9])+/name u:object_r:vendor_sysfs_v4l2_name:s0
# Vibrator
/sys/devices/platform/soc/990000.i2c/i2c-1/1-005a/leds/vibrator(/.*)? u:object_r:vendor_sysfs_vibrator:s0
# Wakeups
/sys/devices/virtual/input/input[0-9]+/wakeup[0-9]+(/.*)? u:object_r:sysfs_wakeup:s0
/sys/devices/platform/soc/[^*]+/wakeup/wakeup[0-9]+(/.*)? u:object_r:sysfs_wakeup:s0

View File

@@ -55,9 +55,6 @@ genfscon sysfs /devices/platform/soc/a94000.i2c/i2c-2/2-0049/touchscreen
# UFS
genfscon sysfs /devices/platform/soc/4804000.ufshc/host0/target0:0:0/0:0:0:4/block/sde/queue/discard_max_bytes u:object_r:vendor_sysfs_mmc_host:s0
# Vibrator
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/leds/vibrator u:object_r:sysfs_vibrator:s0
# Wakeup
genfscon sysfs /devices/platform/soc/984000.i2c/i2c-0/0-005a/wakeup/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/soc/soc:qcom,pmic_glink/soc:qcom,pmic_glink:qcom,battery_charger/power/wakeup u:object_r:sysfs_wakeup:s0

View File

@@ -1,2 +0,0 @@
allow hal_vibrator_default vendor_sysfs_vibrator:dir r_dir_perms;
allow hal_vibrator_default vendor_sysfs_vibrator:file rw_file_perms;

View File

@@ -24,5 +24,3 @@ recovery_only(`
allow init self:capability sys_module;
allow init rootfs:system module_load;
')
allow init vendor_sysfs_vibrator:file create_file_perms;