Allow platform_app to access MagiskSU

This commit is contained in:
topjohnwu 2024-03-22 16:14:29 -07:00
parent 4670f762d3
commit 08dbf728a4

View File

@ -96,7 +96,7 @@ impl SepolicyMagisk for sepolicy {
allow(["domain"], [proc], ["fifo_file"], ["write", "read", "open", "getattr"]); allow(["domain"], [proc], ["fifo_file"], ["write", "read", "open", "getattr"]);
// Allow these processes to access MagiskSU and output logs // 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"], "system_app", "priv_app", "untrusted_app", "untrusted_app_all"],
[proc], ["unix_stream_socket"], ["connectto", "getopt"]); [proc], ["unix_stream_socket"], ["connectto", "getopt"]);