mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 12:35:26 +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_device");
|
||||||
enforce("su_daemon");
|
enforce("su_daemon");
|
||||||
|
|
||||||
|
// Patch su to everything
|
||||||
|
allow("su", ALL, ALL, ALL);
|
||||||
|
|
||||||
// Autotransition su's socket to su_device
|
// Autotransition su's socket to su_device
|
||||||
add_transition("su_daemon", "device", "su_device", "file");
|
add_transition("su_daemon", "device", "su_device", "file");
|
||||||
add_transition("su_daemon", "device", "su_device", "dir");
|
add_transition("su_daemon", "device", "su_device", "dir");
|
||||||
|
Loading…
Reference in New Issue
Block a user