[ALPS04468274] add cameraservice ioctrol permission

[Detail]
add cameraserver permission

[Solution]

MTK-Commit-Id: 23fe7f9ba48f0ff2d27acf666670c1d4dba69a6e

Change-Id: Ie4b9aa9cd836a3c96a353a8148e5ada5d21166f8
CR-Id: ALPS04468274
Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
Cheng Li 2020-01-18 10:13:00 +08:00
parent 2c81327460
commit 414a5bfec1

View File

@ -294,7 +294,7 @@ allow cameraserver gpu_device:dir search;
# Date : WK16.33 # Date : WK16.33
# Purpose: Allow to access ged for gralloc_extra functions # Purpose: Allow to access ged for gralloc_extra functions
allow cameraserver proc_ged:file {open read write getattr}; 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 };
# Date : WK16.33 # Date : WK16.33
@ -357,6 +357,8 @@ allow cameraserver debugfs_ion:dir search;
allow cameraserver proc_perfmgr:dir {read search}; allow cameraserver proc_perfmgr:dir {read search};
allow cameraserver proc_perfmgr:file r_file_perms; allow cameraserver proc_perfmgr:file r_file_perms;
allowxperm cameraserver proc_perfmgr:file ioctl { allowxperm cameraserver proc_perfmgr:file ioctl {
GED_BRIDGE_IO_BOOST_GPU_FREQ FPSGO_QUEUE
GED_BRIDGE_IO_LOG_BUF_WRITE FPSGO_DEQUEUE
FPSGO_QUEUE_CONNECT
FPSGO_BQID
}; };