29c29
< * $FreeBSD: head/sys/kern/imgact_elf.c 69947 2000-12-13 00:17:05Z jake $
---
> * $FreeBSD: head/sys/kern/imgact_elf.c 71497 2001-01-24 00:27:28Z jhb $
725c725
< register struct ucred *cred = p->p_ucred;
---
> register struct ucred *cred;
756a757,760
> PROC_LOCK(p);
> cred = p->p_ucred;
> crhold(cred);
> PROC_UNLOCK(p);
776a781
> crfree(cred);
< * $FreeBSD: head/sys/kern/imgact_elf.c 69947 2000-12-13 00:17:05Z jake $
---
> * $FreeBSD: head/sys/kern/imgact_elf.c 71497 2001-01-24 00:27:28Z jhb $
725c725
< register struct ucred *cred = p->p_ucred;
---
> register struct ucred *cred;
756a757,760
> PROC_LOCK(p);
> cred = p->p_ucred;
> crhold(cred);
> PROC_UNLOCK(p);
776a781
> crfree(cred);