mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Add execmem to allow hook
This commit is contained in:
parent
7f18616cc0
commit
b0292d7319
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user