Merge "[ALPS03943817] Add sepolicy for mtk_hal_bluetooth to access nvram" into alps-trunk-p0.basic

Change-Id: Ie801a6a4f93feb63315011d995145913ba49e504
MTK-Commit-Id: de4d45f00da7859463643872bac4c75fc1ffe379
This commit is contained in:
Tingting Lei 2020-01-18 09:56:10 +08:00 committed by Gerrit Code Review
commit 237a1c8db4

View File

@ -36,6 +36,9 @@ allow mtk_hal_bluetooth nvdata_file:file rw_file_perms;
allow mtk_hal_bluetooth nvram_data_file:lnk_file read;
allow mtk_hal_bluetooth nvdata_file:lnk_file read;
# Purpose: Allow to search /mnt/vendor/* for fstab when using NVM_Init()
allow mtk_hal_bluetooth mnt_vendor_file:dir search;
allow mtk_hal_bluetooth hwservicemanager_prop:file r_file_perms;
add_hwservice(hal_bluetooth, mtk_hal_bluetooth_hwservice)