From b2844456680246ea3367a1f98d8b4725068774d2 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 21 Aug 2018 12:07:18 +0200 Subject: [PATCH] Allow vendor_init to load kernel modules --- sepolicy/init.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/init.te b/sepolicy/init.te index 9fa6879..d7df384 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -4,3 +4,5 @@ domain_trans(init, rootfs, adbd) #This is used on Huawei devices to f2fs data partition allow init userdata_block_device:blk_file relabelto; allow init userdata_block_device:lnk_file relabelto; + +allow vendor_init vendor_init:capability { sys_module };