freebsd5/sys/kern/kern_prot.c
/*-
 * Change a process's saved uid.
 * Side effects: newcred->cr_svuid will be updated.
 * References: newcred must be an exclusive credential reference for the
 *             duration of the call.
 */
Change a process's saved uid.
Side effects: newcred->cr_svuid will be updated.
References: newcred must be an exclusive credential reference for the
duration of the call.
Change a process ' s saved uid . Side effects : newcred - > cr_svuid will be updated . References : newcred must be an exclusive credential reference for the duration of the call .
void
change_svuid(struct ucred *newcred, uid_t svuid)
{
	newcred->cr_svuid = svuid;
}
void change_svuid ( struct ucred * newcred , uid_t svuid ) { newcred -> cr_svuid = svuid ; }
Change a process's saved uid.
Change a process ' s saved uid .