[ALPS04116372] Resolve kernel version unkown issue

[Detail] Allow factory to open /proc/version

MTK-Commit-Id: 13ceaa000bcff93dbc9abb0b52aa70b61e66be91

Change-Id: I528a9ccc837439e3bd338549ea1437758a173534
CR-Id: ALPS04116372
Feature: Factory Mode
This commit is contained in:
Dian Wang 2020-01-18 10:07:27 +08:00 committed by Gang Wei
parent 8b4db85b56
commit 29f9255166

View File

@ -368,3 +368,8 @@ allow factory sysfs_mmcblk:file { read getattr open };
allow factory vendor_file:file execute_no_trans;
allow factory mtk_audiohal_data_file:dir create_dir_perms;
allow factory mtk_audiohal_data_file:file { write create unlink r_file_perms };
#Date : WK18.37
# Operation: P migration
# Purpose : Allow factory to open /proc/version
allow factory proc_version:file {read open getattr};