summaryrefslogtreecommitdiff
path: root/contrib/syscall-test/setgid.c
blob: df9680c86937be4fad59346d9b4c9d4fc9c1ff01 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>

int main() {
	if (setgid(1) == -1) {
		perror("setgid");
		return 1;
	}
	return 0;
}