Rewrite su daemon and client

This commit is contained in:
topjohnwu
2018-10-04 04:59:51 -04:00
parent 09ef19f7ec
commit d119dd9a0c
7 changed files with 346 additions and 410 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ static void *request_handler(void *args) {
ls_hide_list(client);
break;
case SUPERUSER:
su_daemon_receiver(client, &credential);
su_daemon_handler(client, &credential);
break;
case CHECK_VERSION:
write_string(client, xstr(MAGISK_VERSION) ":MAGISK");