From 1ef3f6e13b274620474f1277b3f66708c2e41154 Mon Sep 17 00:00:00 2001 From: Wang Han Date: Thu, 21 Dec 2023 22:19:06 +0800 Subject: [PATCH] Remove useless rule for prctl PR_SET_MM * There is no use-case for it now. --- native/src/sepolicy/rules.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/native/src/sepolicy/rules.cpp b/native/src/sepolicy/rules.cpp index abc85d1b2..377070703 100644 --- a/native/src/sepolicy/rules.cpp +++ b/native/src/sepolicy/rules.cpp @@ -114,7 +114,6 @@ void sepolicy::magisk_rules() { allow("rootfs", "tmpfs", "filesystem", "associate"); // Zygisk rules - allow("zygote", "zygote", "capability", "sys_resource"); // prctl PR_SET_MM allow("zygote", "zygote", "process", "execmem"); allow("zygote", "fs_type", "filesystem", "unmount"); allow("system_server", "system_server", "process", "execmem");