mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-04 16:07:38 +00:00
parent
0cd4fa6fa0
commit
6710314832
@ -8,7 +8,6 @@ void allowSuClient(char *target) {
|
||||
sepol_allow(target, SEPOL_PROC_DOMAIN, "unix_stream_socket", "getopt");
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, target, "fd", "use");
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, target, "fifo_file", ALL);
|
||||
sepol_allow(target, SEPOL_PROC_DOMAIN, "process", "sigchld");
|
||||
|
||||
// Allow access to magisk files
|
||||
sepol_allow(target, SEPOL_FILE_DOMAIN, "sock_file", "read");
|
||||
@ -50,6 +49,8 @@ void otherToSU() {
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, "system_server", "binder", "transfer");
|
||||
sepol_allow(SEPOL_PROC_DOMAIN, "system_server", "binder", "call");
|
||||
|
||||
sepol_allow(ALL, SEPOL_PROC_DOMAIN, "process", "sigchld");
|
||||
|
||||
// allowLog
|
||||
sepol_allow("logd", SEPOL_PROC_DOMAIN, "dir", "search");
|
||||
sepol_allow("logd", SEPOL_PROC_DOMAIN, "file", "read");
|
||||
|
Loading…
x
Reference in New Issue
Block a user