From 46302b2c36d356c247eb91406d747a76984f3986 Mon Sep 17 00:00:00 2001 From: Huan Tang Date: Sat, 18 Jan 2020 10:11:01 +0800 Subject: [PATCH] [ALPS04414221] msdc:add permission for sdcard add ioctl permission for sdcard in factory mode MTK-Commit-Id: 79229bd04c17e617dc40b00fa178648fe37fec0b Change-Id: I9641b36a26c79499a92aeee37ff3e72c0fe5e510 CR-Id: ALPS04414221 Feature: Factory Mode --- non_plat/factory.te | 1 + 1 file changed, 1 insertion(+) diff --git a/non_plat/factory.te b/non_plat/factory.te index b3481d1..28d45af 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -127,6 +127,7 @@ allow factory mmcblk1_block_device:blk_file rw_file_perms; allow factory bootdevice_block_device:blk_file rw_file_perms; allow factory mmcblk1p1_block_device:blk_file rw_file_perms; allow factory block_device:dir w_dir_perms; +allowxperm factory mmcblk1_block_device:blk_file ioctl BLKGETSIZE; #Purpose: For EMMC test allow factory nvdata_file:dir create_dir_perms;