FreeBSD/sys/kern/kern_prot.c
/*
 * Set initial process credentials.
 * Callers are responsible for providing the reference for provided credentials.
 */
Set initial process credentials.
Callers are responsible for providing the reference for provided credentials.
Set initial process credentials . Callers are responsible for providing the reference for provided credentials .
void
proc_set_cred_init(struct proc *p, struct ucred *newcred)
{
	p->p_ucred = newcred;
}
void proc_set_cred_init ( struct proc * p , struct ucred * newcred ) { p -> p_ucred = newcred ; }
Set initial process credentials.
Set initial process credentials .