dumpstate/incident: Fix avc errors
avc: denied { append } for path="/storage/emulated/0/Android/data/com.android.pixellogger/files/bugreport-oriole-MASTER-2021-04-19-14-57-22.zip" dev="dm-7" ino=35424 scontext=u:r:dumpstate:s0 tcontext=u:object_r:media_rw_data_file:s0:c28,c257,c512,c768 tclass=file avc: denied { use } for path="/storage/emulated/0/Android/data/com.android.pixellogger/files/bugreport-oriole-MASTER-2021-04-19-14-57-22.zip" dev="dm-7" ino=35424 scontext=u:r:incident:s0 tcontext=u:r:logger_app:s0:c28,c257,c512,c768 tclass=fd avc: denied { append } for path="/storage/emulated/0/Android/data/com.android.pixellogger/files/bugreport-oriole-MASTER-2021-04-19-16-30-05.zip" dev="dm-7" ino=12639 scontext=u:r:incident:s0 tcontext=u:object_r:media_rw_data_file:s0:c30,c257,c512,c768 tclass=file Bug: 178744858 Change-Id: I07eb1f4abf6cb9b399c773854ca6f47fcd5e2f37
This commit is contained in:
parent
96ed3bb51c
commit
1b17b0fbaa
2 changed files with 5 additions and 0 deletions
1
whitechapel/vendor/google/dumpstate.te
vendored
1
whitechapel/vendor/google/dumpstate.te
vendored
|
@ -3,6 +3,7 @@ dump_hal(hal_graphics_composer)
|
||||||
|
|
||||||
userdebug_or_eng(`
|
userdebug_or_eng(`
|
||||||
allow dumpstate vendor_dmabuf_debugfs:file r_file_perms;
|
allow dumpstate vendor_dmabuf_debugfs:file r_file_perms;
|
||||||
|
allow dumpstate media_rw_data_file:file append;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
|
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
|
||||||
|
|
4
whitechapel/vendor/google/incident.te
vendored
Normal file
4
whitechapel/vendor/google/incident.te
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
userdebug_or_eng(`
|
||||||
|
allow incident logger_app:fd use;
|
||||||
|
allow incident media_rw_data_file:file append;
|
||||||
|
')
|
Loading…
Add table
Add a link
Reference in a new issue