From 1a7d87aba7cc228b4111a0150727ba4d3c115099 Mon Sep 17 00:00:00 2001 From: Vladimir Oltean Date: Thu, 12 Nov 2020 17:19:18 +0000 Subject: [PATCH] msm8974-common: sepolicy: allow uevent to control sysfs_mmc_host via vold Change-Id: Iafea09efae38fb82f4019c6d3b3b4bb756cdca0b Signed-off-by: Vladimir Oltean --- sepolicy/common/vold.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/common/vold.te b/sepolicy/common/vold.te index 45ab80f..548e81e 100644 --- a/sepolicy/common/vold.te +++ b/sepolicy/common/vold.te @@ -1,6 +1,9 @@ allow vold efs_file:dir rw_dir_perms; allow vold efs_file:file create; +# For setting read_ahead_kb +allow vold sysfs_mmc_host:file w_file_perms; + allow vold { block_device cache_block_device