mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-29 04:57:38 +00:00
Update rules
This commit is contained in:
parent
6900c197cd
commit
9a14931175
3
rules.c
3
rules.c
@ -265,6 +265,9 @@ void su_rules() {
|
||||
enforce("su_device");
|
||||
enforce("su_daemon");
|
||||
|
||||
// Patch su to everything
|
||||
allow("su", ALL, ALL, ALL);
|
||||
|
||||
// Autotransition su's socket to su_device
|
||||
add_transition("su_daemon", "device", "su_device", "file");
|
||||
add_transition("su_daemon", "device", "su_device", "dir");
|
||||
|
Loading…
x
Reference in New Issue
Block a user