Merge "Hardwareinfo: battery info porting" into sc-dev
This commit is contained in:
commit
a63fbd68d4
2 changed files with 8 additions and 11 deletions
|
@ -1,14 +1,4 @@
|
|||
# b/181177926
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:file { read };
|
||||
dontaudit hardware_info_app sysfs:file { read };
|
||||
dontaudit hardware_info_app sysfs:file { open };
|
||||
dontaudit hardware_info_app sysfs:file { getattr };
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:dir { search };
|
||||
# b/181914888
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:file { open };
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:file { getattr };
|
||||
dontaudit hardware_info_app vendor_regmap_debugfs:dir { search };
|
||||
# b/181915166
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:file { getattr };
|
||||
dontaudit hardware_info_app sysfs_batteryinfo:file { open };
|
||||
dontaudit hardware_info_app vendor_regmap_debugfs:dir { search };
|
||||
|
|
|
@ -15,3 +15,10 @@ allow hardware_info_app sysfs_pixelstats:file r_file_perms;
|
|||
# Storage
|
||||
allow hardware_info_app sysfs_scsi_devices_0000:dir search;
|
||||
allow hardware_info_app sysfs_scsi_devices_0000:file r_file_perms;
|
||||
|
||||
# Battery
|
||||
allow hardware_info_app sysfs_batteryinfo:file r_file_perms;
|
||||
allow hardware_info_app sysfs_batteryinfo:dir search;
|
||||
|
||||
# SoC
|
||||
allow hardware_info_app sysfs:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue