Remove useless rule for prctl PR_SET_MM

* There is no use-case for it now.
This commit is contained in:
Wang Han 2023-12-21 22:19:06 +08:00 committed by John Wu
parent 83a34a9004
commit 1ef3f6e13b

View File

@ -114,7 +114,6 @@ void sepolicy::magisk_rules() {
allow("rootfs", "tmpfs", "filesystem", "associate"); allow("rootfs", "tmpfs", "filesystem", "associate");
// Zygisk rules // Zygisk rules
allow("zygote", "zygote", "capability", "sys_resource"); // prctl PR_SET_MM
allow("zygote", "zygote", "process", "execmem"); allow("zygote", "zygote", "process", "execmem");
allow("zygote", "fs_type", "filesystem", "unmount"); allow("zygote", "fs_type", "filesystem", "unmount");
allow("system_server", "system_server", "process", "execmem"); allow("system_server", "system_server", "process", "execmem");