android_device_samsung_msm8.../sepolicy/charger.te
Deokgyu Yang bf64496924 gts3l-common: sepolicy: Add some missing policies and add genfs_contexts
Temporarility

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4611d613a38f64fb0156f329983d1d6248f0b37b
2022-02-20 14:33:24 +09:00

27 lines
No EOL
902 B
Text

binder_use(charger)
allow charger ashmem_device:chr_file execute;
allow charger input_device:chr_file write;
allow charger sysfs_graphics:dir search;
allow charger sysfs_graphics:file rw_file_perms;
allow charger sysfs_usb_supply:dir search;
allow charger sysfs_usb_supply:file rw_file_perms;
allow charger sysfs_batteryinfo:file rw_file_perms;
allow charger sysfs_rtc:file r_file_perms;
allow charger sysfs_sec_keypad:file r_file_perms;
allow charger app_efs_file:dir search;
allow charger app_efs_file:file rw_file_perms;
allow charger battery_efs_file:dir rw_dir_perms;
allow charger battery_efs_file:file create_file_perms;
allow charger efs_file:dir rw_dir_perms;
allow charger efs_file:file create_file_perms;
allow charger sec_efs_file:dir rw_dir_perms;
allow charger sec_efs_file:file create_file_perms;
allow charger proc_reset_reason:file r_file_perms;
set_prop(charger, powerctl_prop)