From db1196932e2498505265b3219f822506c32f76a3 Mon Sep 17 00:00:00 2001 From: SalmaxChang Date: Tue, 8 Mar 2022 12:55:22 +0800 Subject: [PATCH] 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 --- whitechapel_pro/dumpstate.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/dumpstate.te b/whitechapel_pro/dumpstate.te index ea7108e6..6df0265a 100644 --- a/whitechapel_pro/dumpstate.te +++ b/whitechapel_pro/dumpstate.te @@ -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;