aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/setgroups.c
blob: 31b2b57ac7705b123a0519790e67164e31adcc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 
 * Copyright (c) 2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * static int
 * wrap_setgroups(size_t size, const gid_t *list) {
 *	int rc = -1;
 */

	/* let gcc know we're ignoring these */
	(void) size;
	(void) list;
	/* you always have all group privileges.  we're like magic! */
	rc = 0;

/*	return rc;
 * }
 */