diff --git a/non_plat/cameraserver.te b/non_plat/cameraserver.te index 3af0721..7c1f930 100644 --- a/non_plat/cameraserver.te +++ b/non_plat/cameraserver.te @@ -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 diff --git a/non_plat/mtk_hal_camera.te b/non_plat/mtk_hal_camera.te index d7eac6a..faa952b 100644 --- a/non_plat/mtk_hal_camera.te +++ b/non_plat/mtk_hal_camera.te @@ -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};