#include // for __syscall_1, syscall #include // for gid_t, setgid int setgid(gid_t gid) { return syscall(setgid, gid); }