[ALPS04046768] Factory: add sepolicy for Storage item in factory mode
[Detail] Add sepolicy for Storage item in factory mode so that factory can access /sys/class/block/mmcblk0/. MTK-Commit-Id: b3e289e9ea36a4d2581365a73ecae798c4fc60e0 Change-Id: I14222cef75b5e0516cb7a767cdb3487d38dbd95b CR-Id: ALPS04046768 Feature: Factory Mode
This commit is contained in:
parent
583196d1e8
commit
02046e7138
@ -352,4 +352,8 @@ r_dir_file(factory, sysfs_switch)
|
||||
allow factory vendor_data_file:dir { add_name read write};
|
||||
allow factory vendor_data_file:file { create read write open };
|
||||
|
||||
|
||||
# Date : WK18.31
|
||||
# Operation: P migration
|
||||
# Purpose : Refine policy
|
||||
allow factory sysfs_mmcblk:dir { search };
|
||||
allow factory sysfs_mmcblk:file { read getattr open };
|
||||
|
Loading…
x
Reference in New Issue
Block a user