From 29f9255166580420aa5e80d5a9af58fefd814788 Mon Sep 17 00:00:00 2001 From: Dian Wang Date: Sat, 18 Jan 2020 10:07:27 +0800 Subject: [PATCH] [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 --- non_plat/factory.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/non_plat/factory.te b/non_plat/factory.te index 399f655..8142575 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -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};