[ALPS03943803] Add sepolicy for NVRAM

[Detail] As title

[Solution] As title

MTK-Commit-Id: 2e0d48205919bc075721a6470a4102a95cf841de

Change-Id: I88e7bdf77940d7d89379af3d73996d998235f093
CR-Id: ALPS03943803
Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
Yang Chang 2020-01-18 09:57:35 +08:00 committed by Yang Chang
parent 4e5abd9e9a
commit 91238a62a4

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;