From 08dbf728a44c7bdd533b50ca03da7c9d4d618bbf Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 22 Mar 2024 16:14:29 -0700 Subject: [PATCH] Allow platform_app to access MagiskSU --- native/src/sepolicy/rules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/sepolicy/rules.rs b/native/src/sepolicy/rules.rs index fe0ddda8b..df6715db4 100644 --- a/native/src/sepolicy/rules.rs +++ b/native/src/sepolicy/rules.rs @@ -96,7 +96,7 @@ impl SepolicyMagisk for sepolicy { allow(["domain"], [proc], ["fifo_file"], ["write", "read", "open", "getattr"]); // Allow these processes to access MagiskSU and output logs - allow(["zygote", "shell", + allow(["zygote", "shell", "platform_app", "system_app", "priv_app", "untrusted_app", "untrusted_app_all"], [proc], ["unix_stream_socket"], ["connectto", "getopt"]);