Skip to content
Snippets Groups Projects
Commit 1aa10b2b authored by rswindell's avatar rswindell
Browse files

Replaced setuid(void) callback (which didn't work right anyway) with

FreeBSD-tested seteuid(BOOL user) (set effective user-id) callback.
Deuce's mod.
parent 4120e31e
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ typedef struct {
void (*thread_up)(BOOL up);
void (*socket_open)(BOOL open);
void (*client_on)(BOOL on, int sock, client_t*, BOOL update);
BOOL (*setuid)(void);
BOOL (*seteuid)(BOOL user);
void (*reserved_fptr3)(void);
void (*reserved_fptr2)(void);
void (*reserved_fptr1)(void);
......
......@@ -71,7 +71,7 @@ typedef struct {
void (*thread_up)(BOOL up);
void (*socket_open)(BOOL open);
void (*client_on)(BOOL on, int sock, client_t*, BOOL update);
BOOL (*setuid)(void);
BOOL (*seteuid)(BOOL user);
void (*reserved_fptr3)(void);
void (*reserved_fptr2)(void);
void (*reserved_fptr1)(void);
......
......@@ -62,7 +62,7 @@ typedef struct {
void (*thread_up)(BOOL up);
void (*socket_open)(BOOL open);
void (*client_on)(BOOL on, int sock, client_t*, BOOL update);
BOOL (*setuid)(void);
BOOL (*seteuid)(BOOL user);
void (*reserved_fptr3)(void);
void (*reserved_fptr2)(void);
void (*reserved_fptr1)(void);
......
......@@ -75,7 +75,7 @@ typedef struct {
void (*thread_up)(BOOL up);
void (*socket_open)(BOOL open);
void (*client_on)(BOOL on, int sock, client_t*, BOOL update);
BOOL (*setuid)(void); // Set Unix uid for thread
BOOL (*seteuid)(BOOL user); // Set Unix uid for thread
void (*reserved_fptr3)(void);
void (*reserved_fptr2)(void);
void (*reserved_fptr1)(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment