be able to dump chip id

Bug: 208721677
Bug: 208909124
Test: do adb bugreport with no relevant error log
Change-Id: Ie539ab9afac80ea58e418a6fbe503ad822299b3f
This commit is contained in:
Adam Shih 2022-01-20 10:08:25 +08:00
parent 8518e2e1ce
commit bfe1d014a2
2 changed files with 2 additions and 2 deletions

View file

@ -10,8 +10,6 @@ dontaudit hal_dumpstate_default debugfs:file { open };
dontaudit hal_dumpstate_default debugfs:file { read };
dontaudit hal_dumpstate_default property_type:file *;
dontaudit hal_dumpstate_default shell_data_file:file { getattr };
dontaudit hal_dumpstate_default sysfs_chip_id:file { open };
dontaudit hal_dumpstate_default sysfs_chip_id:file { read };
dontaudit hal_dumpstate_default sysfs:file { open };
dontaudit hal_dumpstate_default sysfs:file { read };
dontaudit hal_dumpstate_default vendor_battery_debugfs:dir { open read };

View file

@ -1,3 +1,5 @@
allow hal_dumpstate_default sysfs_chip_id:file r_file_perms;
allow hal_dumpstate_default sysfs_wlc:dir r_dir_perms;
allow hal_dumpstate_default sysfs_wlc:file r_file_perms;