blob: b9af540af2e66516b5105cbb694b9d4a7c3645af [file] [log] [blame]
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
return __setxid(SYS_setresgid, rgid, egid, sgid);
}