sdm710-common: selinux: Resolve mediacodec denials

avc:  denied  { read } for  comm="android.hardwar" name="u:object_r:vendor_audio_prop:s0" dev="tmpfs" ino=11552 scontext=u:r:mediacodec:s0 tcontext=u:object_r:vendor_audio_prop:s0 tclass=file permissive=0
 avc:  denied  { open } for  comm="android.hardwar" path="/dev/__properties__/u:object_r:vendor_audio_prop:s0" dev="tmpfs" ino=9526 scontext=u:r:mediacodec:s0 tcontext=u:object_r:vendor_audio_prop:s0 tclass=file permissive=0
 avc:  denied  { getattr } for  comm="android.hardwar" path="/dev/__properties__/u:object_r:vendor_audio_prop:s0" dev="tmpfs" ino=11574 scontext=u:r:mediacodec:s0 tcontext=u:object_r:vendor_audio_prop:s0 tclass=file permissive=0
 avc:  denied  { map } for  comm="android.hardwar" path="/dev/__properties__/u:object_r:vendor_audio_prop:s0" dev="tmpfs" ino=11574 scontext=u:r:mediacodec:s0 tcontext=u:object_r:vendor_audio_prop:s0 tclass=file permissive=0

Change-Id: I38c24e2ea5bb211f8cc379d7f7dfe2c003c6a8f1
This commit is contained in:
ShevT 2023-10-31 21:51:46 +03:00 committed by CakesTwix
parent d9a4ac54df
commit f7d3923f07
Signed by: CakesTwix
GPG key ID: 7B11051D5CE19825

1
sepolicy/vendor/mediacodec.te vendored Normal file
View file

@ -0,0 +1 @@
allow mediacodec vendor_audio_prop:file { read open getattr map };