Access times on executables (kern/25777)

John Baldwin jhb at FreeBSD.org
Mon May 5 13:02:00 PDT 2003


On 05-May-2003 Kirk McKusick wrote:
> +             auio.uio_td = td;
> +             vn_lock(textvp, LK_EXCLUSIVE | LK_RETRY, td);
> +             (void) VOP_READ(textvp, &auio, 0, p->p_ucred);

This should use td->td_ucred instead of p->p_ucred.

> +             VOP_UNLOCK(textvp, 0, td);
> +     }
> + 

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-arch mailing list