From b069f1aff79f0a92b6aed3246c021f5951f4669f Mon Sep 17 00:00:00 2001 From: Freddy Hsin Date: Sat, 18 Jan 2020 10:20:50 +0800 Subject: [PATCH] [ALPS04794271] bootctl: add misc access permission for bootctrl add misc access permission for bootctrl MTK-Commit-Id: 5c7ec0779ccca3fd9f9cc516cdae1b003fed2112 Change-Id: Ia8327de54f3e8e429506f2d58309cf46a1a0513a CR-Id: ALPS04794271 Feature: [Android Default] SIU (SD Image Update) --- non_plat/hal_bootctl_default.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/non_plat/hal_bootctl_default.te b/non_plat/hal_bootctl_default.te index 5c2afda..757c0fe 100644 --- a/non_plat/hal_bootctl_default.te +++ b/non_plat/hal_bootctl_default.te @@ -11,4 +11,5 @@ allowxperm hal_bootctl_default bootdevice_block_device:blk_file ioctl MMC_IOCTLC 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; \ No newline at end of file +allow hal_bootctl_default self:capability sys_rawio; +allow hal_bootctl_default misc_block_device:blk_file rw_file_perms;