dumpstate: Grant to access media_rw_data_file

avc: denied { append } for comm="binder:1426_9" dev="dm-43" ino=15392 scontext=u:r:dumpstate:s0 tcontext=u:object_r:media_rw_data_file:s0:c232,c256,c512,c768 tclass=file permissive=0

Bug: 222209243
Change-Id: I38efe11117c15f99ad1bce54cafbd0f3b038eff2
This commit is contained in:
SalmaxChang 2022-03-08 12:55:22 +08:00 committed by Salmax Chang
parent 47b4ca882d
commit db1196932e

View file

@ -4,6 +4,7 @@ dump_hal(hal_uwb_vendor)
userdebug_or_eng(`
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;