mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 18:37:19 +00:00
Bug: 223537397 Test: Ensure that there are no selinux errors for charger_vendor in off-mode charging Change-Id: I9074079a7ba67813da6b6ad7b110d964b9b7db6d
11 lines
545 B
Plaintext
11 lines
545 B
Plaintext
allow charger_vendor mnt_vendor_file:dir search;
|
|
allow charger_vendor sysfs_batteryinfo:file w_file_perms;
|
|
allow charger_vendor persist_file:dir search;
|
|
allow charger_vendor persist_battery_file:dir search;
|
|
allow charger_vendor persist_battery_file:file rw_file_perms;
|
|
allow charger_vendor sysfs_scsi_devices_0000:file r_file_perms;
|
|
allow charger_vendor sysfs_thermal:file w_file_perms;
|
|
allow charger_vendor sysfs_thermal:lnk_file read;
|
|
allow charger_vendor thermal_link_device:dir search;
|
|
set_prop(charger_vendor, vendor_battery_defender_prop)
|