sm8350-common: sepolicy: let battery secret read kmsg device

This commit is contained in:
Cosmin Tanislav 2021-10-18 10:12:08 +03:00
parent 234966a9e9
commit 8c76e46a0d

View File

@ -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_usb_supply)
r_dir_file(battery_daemons, vendor_sysfs_usbpd_device) r_dir_file(battery_daemons, vendor_sysfs_usbpd_device)
allow battery_daemons persist_subsys_file:dir w_dir_perms; allow battery_daemons persist_subsys_file:dir w_dir_perms;
allow battery_daemons rootfs: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 persist_subsys_file:file w_file_perms;
allow battery_daemons sysfs:file w_file_perms; allow battery_daemons sysfs:file w_file_perms;
allow battery_daemons vendor_sysfs_battery_supply:file w_file_perms; allow battery_daemons vendor_sysfs_battery_supply:file w_file_perms;