From 34fd142b8868c2ce9d7881e8e02533ca89b0d26e Mon Sep 17 00:00:00 2001 From: Chuanghua Zhao Date: Sat, 18 Jan 2020 09:48:47 +0800 Subject: [PATCH] [ALPS03923695] Modify systemserver selinux rule [Detail] 1>.Android P remove proc selinux rule. 2>.Need add proc_bootprof for bootprof feature. MTK-Commit-Id: db58a2ce3a8da459758983b8a1b439c3e5d59d87 Change-Id: Ibd30a2fa55cf2d5463ab320d4c7d9e64f02bb90f CR-Id: ALPS03923695 Feature: [Module]SystemServer --- non_plat/system_server.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/non_plat/system_server.te b/non_plat/system_server.te index ff4c784..515a950 100644 --- a/non_plat/system_server.te +++ b/non_plat/system_server.te @@ -9,8 +9,8 @@ allow system_server irtx_device:chr_file rw_file_perms; allow system_server qemu_pipe_device:chr_file rw_file_perms; allow system_server wmtWifi_device:chr_file w_file_perms; -# /proc access. -#allow system_server proc:file w_file_perms; +# Add for bootprof +allow system_server proc_bootprof:file w_file_perms; # /data/core access. allow system_server aee_core_data_file:dir r_dir_perms;