mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-02 22:45:27 +00:00
18 lines
287 B
C
18 lines
287 B
C
/* late_start.c - late_start service actions
|
|
*/
|
|
|
|
#include <unistd.h>
|
|
#include <pthread.h>
|
|
|
|
#include "daemon.h"
|
|
|
|
void late_start(int client) {
|
|
// ack
|
|
write_int(client, 0);
|
|
// TODO: Do something
|
|
close(client);
|
|
|
|
// Wait till the full patch is done
|
|
pthread_join(sepol_patch, NULL);
|
|
}
|