freebsd5/sys/kern/kern_prot.c
/*-
 * Change a process's real gid.
 * Side effects: newcred->cr_rgid will be updated.
 * References: newcred must be an exclusive credential reference for the
 *             duration of the call.
 */
Change a process's real gid.
Side effects: newcred->cr_rgid will be updated.
References: newcred must be an exclusive credential reference for the
duration of the call.
Change a process ' s real gid . Side effects : newcred - > cr_rgid will be updated . References : newcred must be an exclusive credential reference for the duration of the call .
void
change_rgid(struct ucred *newcred, gid_t rgid)
{
	newcred->cr_rgid = rgid;
}
void change_rgid ( struct ucred * newcred , gid_t rgid ) { newcred -> cr_rgid = rgid ; }
Change a process's real gid.
Change a process ' s real gid .