[ALPS04579367] selinux: change bootprof target context

change bootprof target context from proc to proc_bootprof,
for fixing bootprof caused permission issue.

MTK-Commit-Id: ea15ac71efba2703e15022ac79344c5cc2c93520

Change-Id: I1031f33200306ecb2edcf8c8c8fe7d1afa79b5ad
Signed-off-by: guanglai guo <guanglai.guo@mediatek.com>
CR-Id: ALPS04579367
Feature: Modem Interface Driver
(cherry picked from commit f6f909a3ecfa41b1633769f83282ffd9e2487937)
This commit is contained in:
guanglai guo 2020-01-18 10:13:48 +08:00
parent cb1094e975
commit 6a377f89f8

View File

@ -103,8 +103,7 @@ allow ccci_mdinit sysfs:file r_file_perms;
allow ccci_mdinit sysfs_boot_mode:file { read open }; allow ccci_mdinit sysfs_boot_mode:file { read open };
# Purpose : Allow ccci_mdinit to open and read/write /proc/bootprof # Purpose : Allow ccci_mdinit to open and read/write /proc/bootprof
allow ccci_mdinit proc:file rw_file_perms; allow ccci_mdinit proc_bootprof:file rw_file_perms;
allow ccci_mdinit proc:file getattr;
# Date : WK18.21 # Date : WK18.21
# Operation: P migration # Operation: P migration