[ALPS04394576] mt6739:fix camera sepolicy issue
[Detail] Add gpu_device:map in non_plat/mtk_hal_camera.te and non_plat/cameraserver MTK-Commit-Id: a3544387d9eb532f03a1fd0603f96b9cef46f1cf Change-Id: Ic3c0e82e87315c29bee5984ae74f579304710c9d CR-Id: ALPS04394576 Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
parent
112b2a020d
commit
25996d6511
@ -276,7 +276,7 @@ allow cameraserver tmpfs:dir search;
|
||||
# Operation : Migration
|
||||
# Purpose : EGL file access
|
||||
allow cameraserver system_file:dir { read open };
|
||||
allow cameraserver gpu_device:chr_file { read open write getattr ioctl };
|
||||
allow cameraserver gpu_device:chr_file rw_file_perms;
|
||||
allow cameraserver gpu_device:dir search;
|
||||
|
||||
# Date : WK16.30
|
||||
|
@ -237,7 +237,7 @@ allow mtk_hal_camera tmpfs:dir search;
|
||||
## Purpose : EGL file access
|
||||
allow mtk_hal_camera system_file:dir { read open };
|
||||
allow mtk_hal_camera gpu_device:dir search;
|
||||
allow mtk_hal_camera gpu_device:chr_file { read open write getattr ioctl };
|
||||
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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user