Fix selinux for adb bugreport
Bug: 206741894 Test: adb bugreport Signed-off-by: Randall Huang <huangrandall@google.com> Change-Id: If82f30392676f414a79ddabe27d73ce751d61eee
This commit is contained in:
parent
ed245711ec
commit
a2b1ca5f7e
2 changed files with 10 additions and 0 deletions
5
whitechapel_pro/dumpstate.te
Normal file
5
whitechapel_pro/dumpstate.te
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
|
||||||
|
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;
|
5
whitechapel_pro/hal_dumpstate_default.te
Normal file
5
whitechapel_pro/hal_dumpstate_default.te
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
allow hal_dumpstate_default proc_f2fs:dir r_dir_perms;
|
||||||
|
allow hal_dumpstate_default proc_f2fs:file r_file_perms;
|
||||||
|
|
||||||
|
allow hal_dumpstate_default sysfs_scsi_devices_0000:dir r_dir_perms;
|
||||||
|
allow hal_dumpstate_default sysfs_scsi_devices_0000:file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue