be able to dump thermal

Bug: 208721677
Bug: 208909124
Test: do adb bugreport with no relevant error log
Change-Id: I6f8e2ce3b64220efba4172ef6fe05cc3fdbb6cf3
This commit is contained in:
Adam Shih
2022-01-20 09:47:40 +08:00
parent f884bc1f19
commit dee839cecd
2 changed files with 3 additions and 5 deletions

View File

@@ -21,11 +21,6 @@ dontaudit hal_dumpstate_default sysfs_exynos_bts_stats:file { open };
dontaudit hal_dumpstate_default sysfs_exynos_bts_stats:file { read };
dontaudit hal_dumpstate_default sysfs:file { open };
dontaudit hal_dumpstate_default sysfs:file { read };
dontaudit hal_dumpstate_default sysfs_thermal:dir { open };
dontaudit hal_dumpstate_default sysfs_thermal:dir { read };
dontaudit hal_dumpstate_default sysfs_thermal:dir { search };
dontaudit hal_dumpstate_default sysfs_thermal:file { open };
dontaudit hal_dumpstate_default sysfs_thermal:file { read };
dontaudit hal_dumpstate_default sysfs_wlc:dir { search };
dontaudit hal_dumpstate_default sysfs_wlc:file { open read };
dontaudit hal_dumpstate_default vendor_battery_debugfs:dir { open read };

View File

@@ -1,3 +1,6 @@
allow hal_dumpstate_default sysfs_thermal:dir r_dir_perms;
allow hal_dumpstate_default sysfs_thermal:file r_file_perms;
allow hal_dumpstate_default sysfs_wifi:dir r_dir_perms;
allow hal_dumpstate_default sysfs_wifi:file r_file_perms;