[ALPS03908752] partition:fix sysenv issue

[Detail]
add sepolicy for sysenv get device path by fstab

MTK-Commit-Id: 3b4654113dec0bebfd1ba6f4b90fd501ccc6513d

Change-Id: I8cfdaf572363f8ac9ce5276eb4ddff525dd7c841
CR-Id: ALPS03908752
Feature: eMMC Boot Up
(cherry picked from commit 9a53df024a1c1a1cba9a94373b867a50956225d4)
This commit is contained in:
Edison Liu 2020-01-18 10:02:13 +08:00 committed by Huan Tang
parent 57ee420c72
commit 51167c8474

View File

@ -40,3 +40,9 @@ allow sysenv_daemon sysfs:file { open read };
# Purpose : to access mtd device
allow sysenv_daemon mtd_device:blk_file { open read write };
# Date: WK18.02
# Operation: Create
# Purpose : get device path by read fstab in read/write lk_env
allow sysenv_daemon sysfs:dir { read open };
allow sysenv_daemon sysfs:file getattr;