22 lines
648 B
Plaintext
22 lines
648 B
Plaintext
allow system_app sysfs_zram:dir search;
|
|
allow system_app proc_pagetypeinfo:file read;
|
|
allow system_app sysfs_dm:file rw_file_perms;
|
|
allow system_app sysfs_vibrator:file rw_file_perms;
|
|
|
|
allow system_app sysfs_vibrator:dir r_dir_perms;
|
|
allow system_app sysfs_leds:dir search;
|
|
|
|
allow system_app proc_pagetypeinfo:file r_file_perms;
|
|
|
|
allow system_app sysfs_zram:dir search;
|
|
allow system_app sysfs_zram:file r_file_perms;
|
|
|
|
allow system_app sysfs:file { getattr };
|
|
|
|
# Battery Health
|
|
r_dir_file(system_app, vendor_sysfs_usb_supply)
|
|
|
|
allow system_app vendor_sysfs_battery_supply:dir search;
|
|
allow system_app vendor_sysfs_battery_supply:file r_file_perms;
|
|
|