[ALPS04838812] power: add boot_mode policy

[Detail]
There is SE Linux warning when system server
uses perf lock api

[Solution]
Add sysfs_boot_mode permission

MTK-Commit-Id: ab3e875f72f0ec5a55cb7682d6ac4a21f6dfe6dc

Change-Id: Ifd9c2acb54022de9297f7c7b62516a58fdf1c25b
CR-Id: ALPS04838812
Feature: [Module]PowerHAL
This commit is contained in:
Ian-Y Chen 2020-01-18 10:21:29 +08:00
parent 8af759bcb1
commit 96de8c54ba

View File

@ -246,3 +246,8 @@ allow system_server sysfs_pages_shared:file r_file_perms;
allow system_server sysfs_pages_sharing:file r_file_perms;
allow system_server sysfs_pages_unshared:file r_file_perms;
allow system_server sysfs_pages_volatile:file r_file_perms;
# Date:2019/10/14
# Operation: Q Migration
# Purpose : power_hal_mgr_service may use libmtkperf_client
allow system_server sysfs_boot_mode:file r_file_perms;