mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
sepolicy: support domain updates in Android 17- #10226
This commit is contained in:
@@ -96,10 +96,11 @@ impl SePolicy {
|
||||
allow(["domain"], [proc], ["process"], ["sigchld"]);
|
||||
allow(["domain"], [proc], ["fd"], ["use"]);
|
||||
allow(["domain"], [proc], ["fifo_file"], ["write", "read", "open", "getattr"]);
|
||||
allow(["domain"], [proc], ["memfd_file"], ["getattr", "read", "write", "map", "execute"]);
|
||||
|
||||
// Allow these processes to access MagiskSU and output logs
|
||||
allow(["zygote", "shell", "platform_app",
|
||||
"system_app", "priv_app", "untrusted_app", "untrusted_app_all"],
|
||||
allow(["zygote", "shell", "platform_app", "platform_app_all", "system_app",
|
||||
"priv_app", "priv_app_all", "untrusted_app", "untrusted_app_all"],
|
||||
[proc], ["unix_stream_socket"], ["connectto", "getopt"]);
|
||||
|
||||
// Let selected domains access tmpfs files
|
||||
@@ -127,7 +128,6 @@ impl SePolicy {
|
||||
|
||||
// Zygisk rules
|
||||
allow(["zygote"], ["zygote"], ["process"], ["execmem"]);
|
||||
allow(["domain"], [proc], ["memfd_file"], ["getattr", "read", "write", "map", "execute"]);
|
||||
allow(["zygote"], ["fs_type"], ["filesystem"], ["unmount"]);
|
||||
allow(["system_server"], ["system_server"], ["process"], ["execmem"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user