From 379d6e6659819392db6683514819d0dd4fc8e40f Mon Sep 17 00:00:00 2001 From: Freddy Hsin Date: Sat, 18 Jan 2020 10:11:37 +0800 Subject: [PATCH] [ALPS04401328] ota update: fix selinux permission for AB update with dynamic partition fix selinux permission for AB update with dynamic partition MTK-Commit-Id: c2d57620806b07535ab52f11924d25561d8758f8 Change-Id: I8d2dfae862ace8f7b82d4b7cd543291886b19078 Signed-off-by: Freddy Hsin CR-Id: ALPS04401328 Feature: [Android Default] SIU (SD Image Update) --- non_plat/update_engine.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/non_plat/update_engine.te b/non_plat/update_engine.te index cd319fc..e3013f9 100644 --- a/non_plat/update_engine.te +++ b/non_plat/update_engine.te @@ -17,7 +17,7 @@ allow update_engine loader_ext_block_device:blk_file rw_file_perms; allow update_engine cam_vpu_block_device:blk_file rw_file_perms; allow update_engine para_block_device:blk_file rw_file_perms; allow update_engine vbmeta_block_device:blk_file rw_file_perms; - +allow update_engine proc_filesystems:file r_file_perms; # Add for update_engine call by system_app allow update_engine system_app:binder { call transfer };