mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix setegid(2) calling sys_getegid rather than sys_setegid.
This commit is contained in:
parent
142b2c66c4
commit
3163f4600d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
DEFN_SYSCALL1(gid_t, sys_setegid, SYSCALL_GETEGID, gid_t);
|
||||
DEFN_SYSCALL1(gid_t, sys_setegid, SYSCALL_SETEGID, gid_t);
|
||||
|
||||
extern "C" int setegid(gid_t egid)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue