[ALPS04424749] add aee_aedv allow rule

add aee_aedv allow rule to map hwservicemanager_prop file in MTBF

MTK-Commit-Id: cedf4801cb6014d22b030b4b56740e2f04a20302

Change-Id: I8b701883eba743bfc6bc311526ab974a91a9803b
CR-Id: ALPS04424749
Feature: Android Exception Engine(AEE)
This commit is contained in:
Huaiming Li 2020-01-18 10:11:48 +08:00
parent e36513694d
commit 1bc79d92c7

View File

@ -291,7 +291,7 @@ allow aee_aedv sysfs:file { r_file_perms write };
# Purpose: Allow aee_aedv to use HwBinder IPC.
hwbinder_use(aee_aedv)
allow aee_aedv hwservicemanager_prop:file { read open getattr };
get_prop(aee_aedv, hwservicemanager_prop)
# Purpose: Allow aee_aedv access to vendor/bin/mtkcam-debug, which in turn invokes ICameraProvider
# - avc: denied { find } for interface=android.hardware.camera.provider::ICameraProvider pid=2956