deb: selinux denials for audioserver

Change-Id: I28495d8a77d14a7fb4e41751501c6516c22bc804
This commit is contained in:
chrmhoffmann 2016-11-15 21:06:27 +01:00
parent d185fc89eb
commit db637bb513
2 changed files with 8 additions and 0 deletions

View file

@ -26,5 +26,7 @@ TARGET_SYSTEM_PROP := device/asus/flo/system.prop device/asus/deb/system.prop
TARGET_RECOVERY_FSTAB = device/asus/deb/fstab.deb
BOARD_SEPOLICY_DIRS += device/asus/deb/sepolicy
-include vendor/asus/deb/BoardConfigVendor.mk
include device/asus/flo/BoardConfigCommon.mk

6
sepolicy/audioserver.te Normal file
View file

@ -0,0 +1,6 @@
# Audioserver
allow audioserver self:socket { create ioctl read };
allow audioserver qmuxd_socket:dir { add_name write search };
allow audioserver qmuxd_socket:sock_file { create write setattr };
allow audioserver qmux:unix_stream_socket connectto;