blob: 00c7a03a4a8ff92e7b529b3b30a20a5939b9099e (
plain) (
tree)
|
|
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setgid(gid_t gid)
{
if (libc.rsyscall) return libc.rsyscall(__NR_setgid32, gid, 0, 0, 0, 0, 0);
return syscall1(__NR_setgid32, gid);
}
|