[ALPS04566986] Fix cameraserver permission

[Detail]
allow permission of ioctl for cameraserver

[Solution]

MTK-Commit-Id: 01b85f4aed18628c9053fde9f4a2fd96509d49ec

Change-Id: Icddcd0e5eb51583d65aca6763d4b2f31683ffd7f
CR-Id: ALPS04566986
Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
Cheng Li 2020-01-18 10:14:19 +08:00 committed by Cheng Li
parent c04d8c0283
commit be2c30ed8e

View File

@ -295,7 +295,10 @@ allow cameraserver gpu_device:dir search;
# Date : WK16.33
# Purpose: Allow to access ged for gralloc_extra functions
allow cameraserver proc_ged:file rw_file_perms;
allowxperm cameraserver proc_ged:file ioctl { GED_BRIDGE_IO_GE_GET };
allowxperm cameraserver proc_ged:file ioctl {
GED_BRIDGE_IO_GE_GET
GED_BRIDGE_IO_GPU_TIMESTAMP
};
# Date : WK16.33
# Operation : Migration
@ -362,3 +365,4 @@ allowxperm cameraserver proc_perfmgr:file ioctl {
PERFMGR_FPSGO_QUEUE_CONNECT
PERFMGR_FPSGO_BQID
};