[ALPS04030563] add antutu blocking property in selinux

[Detail] selinux permission denied for "ro.vendor.net.upload.benchmark.default"

[Solution] add "ro.vendor.net.upload.benchmark.default" property in selinux

MTK-Commit-Id: 67b0ca896cbaed21ecc0343528caa5829ec3a5e4

Change-Id: I6b0afee632d794dd1fc2138cf442c046a5b662d1
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS04030563
Feature: [Android Default]Dedicated APN for Tethering
This commit is contained in:
mtk13799 2020-01-18 10:05:50 +08:00 committed by xin huang
parent aa7e84f705
commit a38199a49e
3 changed files with 10 additions and 0 deletions

View File

@ -60,3 +60,6 @@ allow netd untrusted_app:fd use;
# Purpose : CTS for wifi
allow netd untrusted_app:unix_stream_socket { read write getopt setopt};
allow netd isolated_app:fd use;
# MTK support antutu feature
get_prop(netd, mtk_antutu_prop);

View File

@ -259,3 +259,7 @@ type mtk_anr_support_prop, property_type, mtk_core_property_type;
#=============mtk app resolution tuner property=============
type mtk_appresolutiontuner_prop, property_type, mtk_core_property_type;
# MTK Antutu feature
type mtk_antutu_prop, property_type, mtk_core_property_type;

View File

@ -294,3 +294,6 @@ vendor.anr.autotest u:object_r:mtk_anr_support_prop:s0
#=============mtk app resolution tuner=============
ro.vendor.app_resolution_tuner u:object_r:mtk_appresolutiontuner_prop:s0
persist.vendor.dbg.disable.art u:object_r:mtk_appresolutiontuner_prop:s0
# MTK Antutu feature
ro.vendor.net.upload.benchmark.default u:object_r:mtk_antutu_prop:s0