replicant-vendor_replicant/sepolicy/qcom/thermal-engine.te
Steve Kondik 2c3b5d353e sepolicy: Remove some denials
* Allow apps to run the "df" command to look at disk usage.
 * Allow thermal engine to check/set battery limits.

Change-Id: I67c863a82a94007e7a5e8ccfde9c095b7277ab84
2015-11-16 19:46:00 -08:00

8 lines
296 B
Plaintext

allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms;
r_dir_file(thermal-engine, sysfs_rqstats);
allow thermal-engine sysfs_battery_supply:file rw_file_perms;
allow thermal-engine sysfs_battery_supply:dir r_dir_perms;
allow thermal-engine self:capability { net_admin } ;