Access times on executables (kern/25777)

Kirk McKusick mckusick at beastie.mckusick.com
Mon May 5 14:13:53 PDT 2003


	Date: Mon, 05 May 2003 16:02:03 -0400 (EDT)
	From: John Baldwin <jhb at FreeBSD.org>
	To: Kirk McKusick <mckusick at mckusick.com>
	Subject: Re: Access times on executables (kern/25777)
	Cc: Jens Schweikhardt <schweikh at FreeBSD.org>,
		Brian Buhrow <buhrow at lothlorien.nfbcal.org>, arch at FreeBSD.org,
		Bruce Evans <bde at zeta.org.au>
	X-ASK-Info: Whitelist match


	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/

Thanks for pointing that out. I will make that update before I
check anything in.

	Kirk McKusick


More information about the freebsd-arch mailing list