Fix setgid(2) calling sys_getgid rather than sys_setgid.
This commit is contained in:
parent
aa9f642df2
commit
478db91c3e
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
DEFN_SYSCALL1(gid_t, sys_setgid, SYSCALL_GETGID, gid_t);
|
DEFN_SYSCALL1(gid_t, sys_setgid, SYSCALL_SETGID, gid_t);
|
||||||
|
|
||||||
extern "C" int setgid(gid_t gid)
|
extern "C" int setgid(gid_t gid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue