[ALPS04064256] tb8127p4_bsp_ab: fixed cannot switch boot partition

Add selinux rule for bootctl

MTK-Commit-Id: a0a417ebbfcf4db7f65260004916633f72dd8f36

Change-Id: Id02178fb27c46c9b9ecdceaa6c83f3dac0e791e5
CR-Id: ALPS04064256
Feature: A/B System Updates
This commit is contained in:
Seiya Wang 2020-01-18 10:06:28 +08:00
parent c54cc72936
commit bfdf1302fa

View File

@ -7,3 +7,6 @@ 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 { read write ioctl open }; allow hal_bootctl_default bootdevice_block_device:blk_file { read write ioctl open };
allow hal_bootctl_default proc_cmdline:file r_file_perms; allow hal_bootctl_default proc_cmdline:file r_file_perms;
userdebug_or_eng(`
allow hal_bootctl_default self:capability sys_rawio;
')