From 4d03893c8966877a96a298d1adfdfb37a2eaa490 Mon Sep 17 00:00:00 2001 From: mountaser Date: Sat, 16 Feb 2019 10:34:02 +0530 Subject: [PATCH] Template: update sepolicy for Pie --- template/anykernel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/template/anykernel.sh b/template/anykernel.sh index 3169aa96d3bb..38646af48b18 100755 --- a/template/anykernel.sh +++ b/template/anykernel.sh @@ -59,6 +59,7 @@ insert_line $overlay/init.rc "init.spectrum.rc" before "import /init.usb.rc" "im # fix selinux denials for /init.*.sh "$bin/magiskpolicy" --load "/system/sepolicy" --save "$overlay/sepolicy" \ +"allow init sysfs_devices_system_cpu file write" \ "allow init rootfs file execute_no_trans" \ "allow toolbox toolbox capability sys_admin" \ "allow toolbox property_socket sock_file write" \