Update su to match Linux's implementation

This commit is contained in:
topjohnwu
2017-12-18 15:46:18 +08:00
parent 4db0ad32f0
commit d0567d29d2
3 changed files with 7 additions and 6 deletions

View File

@@ -6,6 +6,7 @@
#include <pthread.h>
#include <sys/un.h>
#include <sys/socket.h>
extern int is_daemon_init, seperate_vendor;
@@ -77,6 +78,6 @@ void ls_hide_list(int client);
* Superuser *
*************/
void su_daemon_receiver(int client);
void su_daemon_receiver(int client, struct ucred *credential);
#endif