diff options
Diffstat (limited to 'src/unistd/seteuid.c')
-rw-r--r-- | src/unistd/seteuid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unistd/seteuid.c b/src/unistd/seteuid.c index 0aaa86e0..ef8b9df4 100644 --- a/src/unistd/seteuid.c +++ b/src/unistd/seteuid.c @@ -1,6 +1,8 @@ #include <unistd.h> +#include "syscall.h" +#include "libc.h" int seteuid(uid_t euid) { - return setreuid(-1, euid); + return __setxid(SYS_setresuid, -1, euid, -1); } |