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