Merge "[ALPS03943803] Add sepolicy for NVRAM" into alps-trunk-p0.basic

Change-Id: I519fbbe7f7b6ed822bcdc37d616a851600f92092
MTK-Commit-Id: 1209c54a3ea3487b664691fac4cd88d46003f913
This commit is contained in:
Choo Chiu (xxx) 2020-01-18 09:57:37 +08:00 committed by Gerrit Code Review
commit 416e317c75

View File

@ -291,3 +291,18 @@ allow mtk_hal_camera aee_aedv:unix_stream_socket connectto;
# Stage: O Migration # Stage: O Migration
# Purpose: ISP tuning remapping # Purpose: ISP tuning remapping
allow mtk_hal_camera mediatek_prop:property_service set; allow mtk_hal_camera mediatek_prop:property_service set;
# Date : WK18.22
# Stage: p Migration
# Purpose: NVRAM
allow mtk_hal_camera nvram_data_file:dir search;
allow mtk_hal_camera nvram_data_file:file rw_file_perms;
allow mtk_hal_camera nvram_data_file:lnk_file read;
allow mtk_hal_camera nvdata_file:lnk_file read;
allow mtk_hal_camera nvdata_file:dir create_dir_perms;
allow mtk_hal_camera nvdata_file:file { read write getattr setattr open create };
allow mtk_hal_camera nvcfg_file:lnk_file read;
allow mtk_hal_camera nvcfg_file:dir create_dir_perms;
allow mtk_hal_camera nvcfg_file:file { read write getattr setattr open create };
allow mtk_hal_camera mnt_vendor_file:dir search;
allow mtk_hal_camera mnt_vendor_file:file create_file_perms;