1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix setuid(2) calling sys_getuid rather than sys_setuid.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-23 14:26:13 +01:00
parent 478db91c3e
commit 4c1d36fd11

View file

@ -27,7 +27,7 @@
#include <unistd.h>
DEFN_SYSCALL1(uid_t, sys_setuid, SYSCALL_GETUID, uid_t);
DEFN_SYSCALL1(uid_t, sys_setuid, SYSCALL_SETUID, uid_t);
extern "C" int setuid(uid_t uid)
{