aboutsummaryrefslogtreecommitdiffstats
path: root/guts/getgroups.c
blob: 83943255ab54bc531b141c29da518b56d5dfa394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 
 * static int
 * wrap_getgroups(int size, gid_t *list) {
 *	int rc = -1;
 */

	/* you're only in group zero */
	rc = 1;
	if (size > 0) {
		list[0] = 0;
	}

/*	return rc;
 * }
 */