[ALPS04298621] MTKLogger can not get md/netlog property

[Detail] kernel 4.14 SE linux change

[Solution] change group read file map

MTK-Commit-Id: 971e30bb8a9a2170588e9f363f6617fd90f7e2c8

Change-Id: I2834fa7c081058d49f6c0370160bb94b08cad7f7
CR-Id: ALPS04298621
Feature: MTKLogger
(cherry picked from commit 6ff5e6fc63519d2298d04d1a980349f9c8169f48)
This commit is contained in:
mtk11515 2020-01-18 10:09:50 +08:00 committed by Caixia Ma (马彩霞)
parent 4d68f2a2e5
commit 56945bbceb

View File

@ -100,8 +100,10 @@ hal_client_domain(platform_app, mtk_hal_log)
# Operation : Migration
# Purpose : MTKLogger need get netlog/mdlog/mobilelog property for property change
# Package: com.mediatek.mtklogger
allow platform_app debug_mdlogger_prop:file { read getattr open };
allow platform_app debug_mtklog_prop:file { read getattr open };
# allow platform_app debug_mdlogger_prop:file r_file_perms;
# allow platform_app debug_mtklog_prop:file r_file_perms;
get_prop(platform_app, debug_mdlogger_prop)
get_prop(platform_app, debug_mtklog_prop)
get_prop(platform_app, vendor_bluetooth_prop)
get_prop(platform_app, mobile_log_prop)