Add execmem to allow hook

This commit is contained in:
vvb2060 2021-09-19 00:38:33 +08:00 committed by John Wu
parent 7f18616cc0
commit b0292d7319

View File

@ -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");