sm7250-common: sepolicy: Remove generic sysfs references
* We labeled everything + * Remove RTC label as we have a duplicate of it Signed-off-by: xSylla <syllamodder@gmail.com>
This commit is contained in:
parent
20b6233939
commit
fd28bafa34
3
sepolicy/vendor/genfs_contexts
vendored
3
sepolicy/vendor/genfs_contexts
vendored
@ -35,9 +35,6 @@ genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.q
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_0/brightness u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm6150l@5:qcom,leds@d300/leds/led:switch_1/brightness u:object_r:sysfs_leds:s0
|
||||
|
||||
# RTC
|
||||
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm8150@0:qcom,pm8150_rtc/rtc u:object_r:sysfs_rtc:s0
|
||||
|
||||
# Touchpanel
|
||||
genfscon sysfs /touchpanel u:object_r:sysfs_touchpanel:s0
|
||||
|
||||
|
1
sepolicy/vendor/hal_fingerprint_default.te
vendored
1
sepolicy/vendor/hal_fingerprint_default.te
vendored
@ -39,5 +39,4 @@ get_prop(system_server, vendor_fp_prop);
|
||||
set_prop(hal_fingerprint_default, vendor_fp_prop)
|
||||
|
||||
allow hal_fingerprint_default vendor_sysfs_spss:dir { search };
|
||||
allow hal_fingerprint_default sysfs:file { write getattr };
|
||||
allow hal_fingerprint_default vendor_sysfs_spss:file { open read };
|
||||
|
1
sepolicy/vendor/hal_health_default.te
vendored
1
sepolicy/vendor/hal_health_default.te
vendored
@ -1,3 +1,2 @@
|
||||
allow hal_health_default sysfs:file rw_file_perms;;
|
||||
allow hal_health_default sysfs_wakeup:dir r_dir_perms;
|
||||
allow hal_health_default sysfs_wakeup:file r_file_perms;
|
||||
|
2
sepolicy/vendor/hal_power_stats_default.te
vendored
2
sepolicy/vendor/hal_power_stats_default.te
vendored
@ -1,4 +1,2 @@
|
||||
allow hal_power_stats_default vendor_sysfs_iio:dir r_dir_perms;
|
||||
allow hal_power_stats_default vendor_sysfs_iio:file r_file_perms;
|
||||
allow hal_power_stats_default sysfs:dir r_dir_perms;
|
||||
allow hal_power_stats_default sysfs:file r_file_perms;
|
||||
|
3
sepolicy/vendor/mi_thermald.te
vendored
3
sepolicy/vendor/mi_thermald.te
vendored
@ -9,9 +9,6 @@ allow mi_thermald self:capability { chown fowner fsetid };
|
||||
allow mi_thermald thermal_data_file:dir rw_dir_perms;
|
||||
allow mi_thermald thermal_data_file:file create_file_perms;
|
||||
|
||||
allow mi_thermald sysfs:file write;
|
||||
|
||||
r_dir_file(mi_thermald, sysfs)
|
||||
r_dir_file(mi_thermald, sysfs_battery_supply)
|
||||
r_dir_file(mi_thermald, sysfs_devices_system_cpu)
|
||||
r_dir_file(mi_thermald, vendor_sysfs_graphics)
|
||||
|
1
sepolicy/vendor/vendor_init.te
vendored
1
sepolicy/vendor/vendor_init.te
vendored
@ -9,7 +9,6 @@ allow vendor_init {
|
||||
}:file w_file_perms;
|
||||
|
||||
allow vendor_init block_device:lnk_file setattr;
|
||||
allow vendor_init sysfs:lnk_file setattr;
|
||||
allow vendor_init vendor_camera_prop:property_service set;
|
||||
|
||||
allow vendor_init input_device:chr_file { create setattr unlink rw_file_perms };
|
||||
|
Loading…
Reference in New Issue
Block a user