sys/kern/kern_prot.c
/*
 * Dup cred struct to a new held one.
 * MPSAFE
 */
Dup cred struct to a new held one.
MPSAFE
Dup cred struct to a new held one . MPSAFE
struct ucred *
crdup(struct ucred *cr)
{
	struct ucred *newcr;
	newcr = crget();
	crcopy(newcr, cr);
	return (newcr);
}
struct ucred * crdup ( struct ucred * cr ) { struct ucred * newcr ; newcr = crget ( ) ; crcopy ( newcr , cr ) ; return ( newcr ) ; }
Dup cred struct to a new held one.
Dup cred struct to a new held one .