Commit b0292d73 authored by vvb2060's avatar vvb2060 Committed by John Wu

Add execmem to allow hook

parent 7f18616c
......@@ -176,6 +176,10 @@ void sepolicy::magisk_rules() {
// Allow Zygisk to prctl PR_SET_MM
allow("zygote", "zygote", "capability", "sys_resource");
// Allow hook
allow("zygote", "zygote", "process", "execmem");
allow("system_server", "system_server", "process", "execmem");
// Allow update_engine/addon.d-v2 to run permissive on all ROMs
permissive("update_engine");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment