[ALPS04025118] add get btlog property selinux

[Detail] avc: denied { open }
for path="/dev/__properties__/u:object_r:vendor_bluetooth_prop:s0"
 dev="tmpfs" ino=464 scontext=u:r:platform_app:s0:c512,c768
 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=file permissivSolution]

[Solution] add selinux in te file

MTK-Commit-Id: a42afa781fc86421c345c96a271465b3efdec5bd

Change-Id: Ie4d1478e97429247e5355a9b06ea749227f18bf7
CR-Id: ALPS04025118
Feature: MTKLogger
This commit is contained in:
mtk11515 2020-01-18 10:06:03 +08:00 committed by Yuru Zhu (朱禹儒)
parent 02046e7138
commit 3107d089df

View File

@ -102,6 +102,7 @@ hal_client_domain(platform_app, mtk_hal_log)
# Package: com.mediatek.mtklogger
allow platform_app debug_mdlogger_prop:file { read getattr open };
allow platform_app debug_mtklog_prop:file { read getattr open };
get_prop(platform_app, vendor_bluetooth_prop)
get_prop(platform_app, mobile_log_prop)
get_prop(platform_app, vendor_connsysfw_prop)