Verified Commit 17998757 authored by steadfasterX's avatar steadfasterX 😁
Browse files

universal7870: selinux: fix audio


Signed-off-by: steadfasterX's avatarsteadfasterX <steadfasterX@gmail.com>
parent c3ba8ea6
......@@ -56,6 +56,9 @@
# Knox status
/dev/knox_kap u:object_r:knox_device:s0
# audio hal
/dev/i2c-20 u:object_r:audio_device:s0
####################################
# efs files
/efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
......
allow hal_audio_default property_socket:sock_file write;
allow hal_audio_default init:unix_stream_socket connectto;
allow hal_audio_default audio_device:chr_file { open read write };
allow hal_audio_default audio_prop:property_service set;
#allow hal_audio_default efs_file:dir search;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment