mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Refactor sepolicy.rules resolve native
Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
committed by
John Wu
co-authored by
LoveSy
parent
4de93cfd4b
commit
362eea741f
@@ -83,9 +83,6 @@ int main(int argc, char *argv[]) {
|
||||
if (name == "magisk"sv)
|
||||
return magisk_proxy_main(argc, argv);
|
||||
|
||||
if (name == "magiskinit"sv && argc == 2 && argv[1] == "--rules-device"sv)
|
||||
return rust::print_rules_device();
|
||||
|
||||
if (getpid() != 1)
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user