[ALPS04361666] hal_bootctl_default: add permission

[Detail]
add permission to get boot_type

MTK-Commit-Id: fc9f66eee3c02575c4ef55812136ceee31dcf080

Change-Id: Ia783a03546f7c63d0190fb59a0bd815217b0af38
CR-Id: ALPS04361666
Feature: A/B System Updates
(cherry picked from commit 0feea4c29acf9f596373c0c1dc2e3afb11cdd2b7)
This commit is contained in:
ryan-c.hsu 2020-01-18 10:14:01 +08:00 committed by Ryan-C Hsu
parent ba7500624e
commit 5bb4c4434f

View File

@ -3,6 +3,7 @@
allow hal_bootctl_default para_block_device:blk_file { read open write}; allow hal_bootctl_default para_block_device:blk_file { read open write};
allow hal_bootctl_default rootfs:file { read getattr open }; allow hal_bootctl_default rootfs:file { read getattr open };
allow hal_bootctl_default sysfs:dir { read open }; allow hal_bootctl_default sysfs:dir { read open };
allow hal_bootctl_default sysfs_boot_type:file { read open };
allow hal_bootctl_default block_device:dir search; allow hal_bootctl_default block_device:dir search;
allow hal_bootctl_default misc_sd_device:chr_file rw_file_perms; allow hal_bootctl_default misc_sd_device:chr_file rw_file_perms;
allow hal_bootctl_default bootdevice_block_device:blk_file rw_file_perms; allow hal_bootctl_default bootdevice_block_device:blk_file rw_file_perms;