summaryrefslogtreecommitdiff
path: root/src/linux/setgroups.c
blob: 1248fdbfdc83c10c9fea5a3a51d5be0edb905869 (plain)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int setgroups(size_t count, const gid_t list[])
{
	return syscall(SYS_setgroups, count, list);
}