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:
parent
478db91c3e
commit
4c1d36fd11
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue