[Detail] user load is also need this permission to update boot slot MTK-Commit-Id: 1d36ab48bb02c462f86732182cd15c2803efc524 Change-Id: If3ea6ef5e89c6beed827752b4ee777004b386647 CR-Id: ALPS04361666 Feature: A/B System Updates (cherry picked from commit 91b20c70ead67f39b68a61648ed41c417d39adf2)
13 lines
782 B
Plaintext
13 lines
782 B
Plaintext
# Add for bootctl
|
|
#============= hal_bootctl_default ==============
|
|
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 sysfs:dir { read open };
|
|
allow hal_bootctl_default block_device:dir search;
|
|
allow hal_bootctl_default misc_sd_device:chr_file rw_file_perms;
|
|
allow hal_bootctl_default bootdevice_block_device:blk_file rw_file_perms;
|
|
allowxperm hal_bootctl_default bootdevice_block_device:blk_file ioctl MMC_IOCTLCMD;
|
|
allowxperm hal_bootctl_default bootdevice_block_device:blk_file ioctl UFS_IOCTLCMD;
|
|
allow hal_bootctl_default proc_cmdline:file r_file_perms;
|
|
allow hal_bootctl_default sysfs_boot_type:file r_file_perms;
|
|
allow hal_bootctl_default self:capability sys_rawio; |