sm8350-common: sepolicy: let battery secret read kmsg device
This commit is contained in:
parent
234966a9e9
commit
8c76e46a0d
3
sepolicy/vendor/battery.te
vendored
3
sepolicy/vendor/battery.te
vendored
@ -19,10 +19,11 @@ r_dir_file(battery_daemons, sysfs_type)
|
||||
r_dir_file(battery_daemons, vendor_sysfs_usb_supply)
|
||||
r_dir_file(battery_daemons, vendor_sysfs_usbpd_device)
|
||||
|
||||
|
||||
allow battery_daemons persist_subsys_file:dir w_dir_perms;
|
||||
allow battery_daemons rootfs:dir w_dir_perms;
|
||||
|
||||
allow battery_daemons kmsg_device:chr_file w_file_perms;
|
||||
allow battery_daemons kmsg_device:chr_file rw_file_perms;
|
||||
allow battery_daemons persist_subsys_file:file w_file_perms;
|
||||
allow battery_daemons sysfs:file w_file_perms;
|
||||
allow battery_daemons vendor_sysfs_battery_supply:file w_file_perms;
|
||||
|
Loading…
Reference in New Issue
Block a user