fix dumpstate permission

Bug: 208721809
Test: run bugreport under enforcing mode and found  no relevant errors
Change-Id: I106d95fd01b321af815ef8e580305702be716021
This commit is contained in:
Adam Shih
2022-01-17 14:54:54 +08:00
parent d9a2fb8506
commit 56df08e495
2 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +0,0 @@
# b/208721809
dontaudit dumpstate fuse:dir { search };
dontaudit dumpstate hal_power_stats_vendor_service:service_manager { find };
dontaudit dumpstate hal_uwb_vendor_default:binder { call };
dontaudit dumpstate modem_img_file:filesystem { getattr };
dontaudit dumpstate vold:binder { call };

View File

@@ -1,4 +1,6 @@
dump_hal(hal_health)
dump_hal(hal_graphics_composer)
dump_hal(hal_uwb_vendor)
userdebug_or_eng(`
allow dumpstate vendor_dmabuf_debugfs:file r_file_perms;
@@ -9,5 +11,6 @@ allow dumpstate persist_file:dir r_dir_perms;
allow dumpstate modem_efs_file:dir r_dir_perms;
allow dumpstate modem_userdata_file:dir r_dir_perms;
allow dumpstate modem_img_file:dir r_dir_perms;
allow dumpstate fuse:dir search;
dontaudit dumpstate vendor_dmabuf_debugfs:file r_file_perms;