blob: edf5619af92bf3cc93142052bef4329c1572f443 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_setgid
#include <syscall.h> // for __syscall_1, syscall
#include <unistd.h> // for gid_t, setgid
int setgid(gid_t gid)
{
return syscall(setgid, gid);
}
|