blob: 79daec9ea248db1d0949dfc938ec0ca56b3097be [file] [log] [blame]
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setgid(gid_t gid) {
return __setxid(SYS_setgid, gid, 0, 0);
}