msm8953-common: address denials
This commit is contained in:
1
sepolicy/vendor/genfs_contexts
vendored
1
sepolicy/vendor/genfs_contexts
vendored
@@ -18,6 +18,7 @@ genfscon sysfs /devices/bt_wcn3990/extldo u:
|
||||
|
||||
genfscon sysfs /devices/soc/c176000.i2c/i2c-2/2-005b/leds/vibrator u:object_r:sysfs_leds:s0
|
||||
genfscon sysfs /devices/soc/soc:mmi_pl_chg_manager/power_supply/mmi_pl_chg_manager u:object_r:sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/soc/qpnp-smbcharger-17/power_supply/battery/system_temp_level u:object_r:sysfs_batteryinfo:s0
|
||||
|
||||
genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d800/leds u:object_r:sysfs_leds:s0
|
||||
|
||||
|
||||
2
sepolicy/vendor/thermal-engine.te
vendored
2
sepolicy/vendor/thermal-engine.te
vendored
@@ -11,6 +11,8 @@ allow thermal-engine self:capability { chown fowner };
|
||||
get_prop(thermal-engine, moto_boot_prop)
|
||||
allow thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
|
||||
|
||||
allow thermal-engine sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow thermal-engine sysfs_batteryinfo:file rw_file_perms;
|
||||
allow thermal-engine sysfs_hwmon:dir r_dir_perms;
|
||||
allow thermal-engine sysfs_hwmon:file rw_file_perms;
|
||||
allow thermal-engine sysfs_devfreq:dir r_dir_perms;
|
||||
|
||||
Reference in New Issue
Block a user