mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Improve handshake between the 2 daemons
This commit is contained in:
@ -25,8 +25,8 @@ enum {
|
||||
ADD_HIDELIST,
|
||||
RM_HIDELIST,
|
||||
LS_HIDELIST,
|
||||
MONITOR,
|
||||
HIDE_CONNECT
|
||||
HIDE_CONNECT,
|
||||
HANDSHAKE
|
||||
};
|
||||
|
||||
// Return codes for daemon
|
||||
@ -55,6 +55,7 @@ void auto_start_magiskhide();
|
||||
|
||||
// log_monitor.c
|
||||
|
||||
extern int loggable;
|
||||
void log_daemon();
|
||||
|
||||
// socket.c
|
||||
|
@ -46,10 +46,6 @@
|
||||
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
|
||||
#define PLOGE(fmt, args...) LOGE(fmt " failed with %d: %s", ##args, errno, strerror(errno))
|
||||
|
||||
extern int loggable;
|
||||
|
||||
void monitor_logs();
|
||||
|
||||
#endif
|
||||
|
||||
/********************
|
||||
|
Reference in New Issue
Block a user