Allow vendor_init to load kernel modules

This commit is contained in:
Pierre-Hugues Husson 2018-08-21 12:07:18 +02:00
parent 17e27d8149
commit b284445668

View File

@ -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 };