[ALPS04643911] Fix cameraserver permission GED_IO

[Detail]
To solve the kernel dump message when switch to stereo mode.
Enable the capability of mtk_hal_camera about GED_IO.

MTK-Commit-Id: 88e25a18c125c57a1bbf5c40102ef604f556be95

Change-Id: Ia5a462a2264e2b2ed68090c5ce2e24d5f21d9423
CR-Id: ALPS04643911
Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
Lovefool Tai 2020-01-18 10:14:29 +08:00
parent e73950065c
commit 5deaf73ab0

View File

@ -249,7 +249,12 @@ allow mtk_hal_camera gpu_device:chr_file rw_file_perms;
## Purpose: Allow to access ged for gralloc_extra functions
allow mtk_hal_camera proc_ged:file {open read write ioctl getattr};
allowxperm mtk_hal_camera proc_ged:file ioctl { GED_BRIDGE_IO_GE_GET GED_BRIDGE_IO_GE_SET};
allowxperm mtk_hal_camera proc_ged:file ioctl {
GED_BRIDGE_IO_GE_GET
GED_BRIDGE_IO_GE_SET
GED_BRIDGE_IO_LOG_BUF_GET
GED_BRIDGE_IO_QUERY_INFO
};
################################################################################
# Date : WK17