From 0235a2973762fd3afd79852f0be95a78ee5b4eed Mon Sep 17 00:00:00 2001 From: "ryan-c.hsu" Date: Sat, 18 Jan 2020 10:13:58 +0800 Subject: [PATCH] [ALPS04361666] add sys_rawio permission for user load [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) --- non_plat/hal_bootctl_default.te | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/non_plat/hal_bootctl_default.te b/non_plat/hal_bootctl_default.te index 68fc348..b1a2a76 100644 --- a/non_plat/hal_bootctl_default.te +++ b/non_plat/hal_bootctl_default.te @@ -10,6 +10,4 @@ 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; -userdebug_or_eng(` -allow hal_bootctl_default self:capability sys_rawio; -') +allow hal_bootctl_default self:capability sys_rawio; \ No newline at end of file