[ALPS04758146] fix selinux

[Detail] ioctl is not allowed

[Solution] Fix it

MTK-Commit-Id: 92a8921309a104dab501f57264e8939a57df0c30

Change-Id: I670513bdc93979217ea068b0aca61e1bda11364f
CR-Id: ALPS04758146
Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
mtk10721 2020-01-18 10:19:25 +08:00 committed by Edward Tsai
parent 61181c335d
commit 24cdf7e61e

View File

@ -343,3 +343,8 @@ allow mtk_hal_camera sysfs_dt_firmware_android:dir search;
# Operation : For M4U security
allow mtk_hal_camera proc_m4u:file r_file_perms;
allowxperm mtk_hal_camera proc_m4u:file ioctl MTK_M4U_T_SEC_INIT;
# Date: 2019/08/27
# Operation : For android Q allowing ioctl
allow mtk_hal_camera mtk_hal_camera:unix_stream_socket { ioctl };
allowxperm mtk_hal_camera mtk_hal_camera:unix_stream_socket ioctl IIOCNETAIF;