1
0
mirror of https://github.com/yurisieucuti/treble_evolution.git synced 2024-11-13 14:39:17 +00:00
treble_evolution/sepolicy/init.te
2024-03-10 06:48:11 +00:00

14 lines
402 B
Plaintext

#This is in Android 8.0, but not 8.1
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 };
allow init system_file:lnk_file create_file_perms;
#fix adb in some cases
allow init adbd_exec:lnk_file read;