device_motorola_sm7325-common/sepolicy/vendor/vendor_thermal-engine.te
SGCMarkus 7ec57dede3 sm7325-common: sepolicy: allow thermal engine read access to vendor_sysfs_usb_supply
Change-Id: Ieaa0188f31ba9c37396a691165859ab0b0e195f0
2022-08-11 21:26:16 +02:00

5 lines
270 B
Plaintext

allow vendor_thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
allow vendor_thermal-engine vendor_thermal_device:chr_file rw_file_perms;
r_dir_file(vendor_thermal-engine, vendor_sysfs_battery_supply)
r_dir_file(vendor_thermal-engine, vendor_sysfs_usb_supply)