[Detail] 1. Change type name from sysfs_boot to sysfs_boot_mode 2. Add type name sysfs_boot_type MTK-Commit-Id: 54d5bb31fc8ad1d9ac2e931fe5dc01ef4c1083cf Change-Id: I445ecdf5a5e334a49ccc1d747daa87f6be351d20 Signed-off-by: Peter Wang <peter.wang@mediatek.com> CR-Id: ALPS03901606 Feature: UFS Booting
8 lines
252 B
Plaintext
Executable File
8 lines
252 B
Plaintext
Executable File
# Purpose : Nand device policy
|
|
allow recovery mtd_device:dir search;
|
|
allow recovery mtd_device:chr_file { read write open ioctl getattr };
|
|
allow recovery self:capability sys_resource;
|
|
|
|
# For boot type
|
|
allow recovery sysfs_boot_type:file { read open };
|