[ALPS04897935] Sensor: fix VtsHalSensorsV2_0 fail

Add selinux permission to fix VtsHalSensorsV2_0Target
fail in vts_10.0_r2.

MTK-Commit-Id: 31032858c56fe57e0ec9972f0e1e67beb109d73a

Change-Id: I88c2f9878e96c7296759c03da8f18e5ecad39834
Signed-off-by: xj wang <xj.wang@mediatek.com>
CR-Id: ALPS04897935
Feature: Sensor Hub
This commit is contained in:
xj wang 2020-01-18 10:22:10 +08:00
parent a18280258a
commit 954e2fb5b7
2 changed files with 6 additions and 0 deletions

View File

@ -67,3 +67,6 @@ allow mtk_hal_sensors nvcfg_file:dir create_dir_perms;
# Purpose: Allow to search /mnt/vendor/nvdata for fstab when using NVM_Init()
allow mtk_hal_sensors mnt_vendor_file:dir search;
# Date : WK19.48
# Purpose: fix [vts_10.0_r2]VtsHalSensorsV2_0Target fail
allow mtk_hal_sensors merged_hal_service:fd use;

View File

@ -67,3 +67,6 @@ allow mtk_hal_sensors nvcfg_file:dir create_dir_perms;
# Purpose: Allow to search /mnt/vendor/nvdata for fstab when using NVM_Init()
allow mtk_hal_sensors mnt_vendor_file:dir search;
# Date : WK19.48
# Purpose: fix [vts_10.0_r2]VtsHalSensorsV2_0Target fail
allow mtk_hal_sensors merged_hal_service:fd use;