From 682f71fd6d63c0a392e1f3e42650a4ad575ac16d Mon Sep 17 00:00:00 2001 From: Michael Lai Date: Sat, 18 Jan 2020 10:10:20 +0800 Subject: [PATCH] [ALPS04401451] Fix ioctl permission issue for cameraserver [Detail] Fix the ioctl permission issue for cameraserver MTK-Commit-Id: 4c7eba0c71d5bb65f244095ca93596b28ba60ad8 Change-Id: Idca3ad9f37e6aa38375ed008647e81f525a77618 CR-Id: ALPS04401451 Feature: [Android Default] Camera Application Basic Functions --- non_plat/cameraserver.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/non_plat/cameraserver.te b/non_plat/cameraserver.te index 3af0721..8754779 100644 --- a/non_plat/cameraserver.te +++ b/non_plat/cameraserver.te @@ -294,7 +294,8 @@ allow cameraserver gpu_device:dir search; # Date : WK16.33 # Purpose: Allow to access ged for gralloc_extra functions -allow cameraserver proc_ged:file {open read write ioctl getattr}; +allow cameraserver proc_ged:file {open read write getattr}; +allowxperm cameraserver proc_ged:file ioctl { GED_BRIDGE_IO_GE_GET }; # Date : WK16.33 # Operation : Migration