Merge "Hardwareinfo: battery info porting" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a63fbd68d4
@@ -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 };
|
||||
|
||||
@@ -14,4 +14,11 @@ 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;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user