Allow mediacodec_samsung to fallback crash dump

avc: denied { write } for name="tombstoned_crash" \
dev="tmpfs" ino=948 scontext=u:r:mediacodec_samsung:s0 \
tcontext=u:object_r:tombstoned_crash_socket:s0 \
tclass=sock_file permissive=1

avc: denied { connectto } for path="/dev/socket/tombstoned_crash" \
scontext=u:r:mediacodec_samsung:s0 tcontext=u:r:tombstoned:s0 \
tclass=unix_stream_socket permissive=1

avc: denied { write } for path="pipe:[63031]" dev="pipefs" ino=63031 \
scontext=u:r:mediacodec_samsung:s0 tcontext=u:r:system_server:s0 \
tclass=fifo_file permissive=1

avc: denied { append } for path="pipe:[63031]" dev="pipefs" ino=63031 \
scontext=u:r:mediacodec_samsung:s0 tcontext=u:r:system_server:s0 \
tclass=fifo_file permissive=

Bug: 204718809
Test: boot to home
Change-Id: Iad67f936ac9d6d11e5f5646918074153372b8b00
This commit is contained in:
wenchangliu 2021-11-23 22:20:27 +08:00 committed by Wen Chang Liu
parent fae7e19893
commit ecdcc0f739
2 changed files with 2 additions and 3 deletions

View file

@ -1,3 +0,0 @@
# b/204718809
dontaudit mediacodec_samsung system_server:fifo_file { append };
dontaudit mediacodec_samsung system_server:fifo_file { write };

View file

@ -13,3 +13,5 @@ allow mediacodec_samsung dmabuf_system_heap_device:chr_file r_file_perms;
# can use graphics allocator
hal_client_domain(mediacodec_samsung, hal_graphics_allocator)
crash_dump_fallback(mediacodec_samsung)