Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 14:13:51 -0700
From:      Kirk McKusick <mckusick@beastie.mckusick.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Jens Schweikhardt <schweikh@FreeBSD.org>
Subject:   Re: Access times on executables (kern/25777) 
Message-ID:  <200305052113.h45LDpTh019142@beastie.mckusick.com>
In-Reply-To: Your message of "Mon, 05 May 2003 16:02:03 EDT." <XFMail.20030505160203.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
	Date: Mon, 05 May 2003 16:02:03 -0400 (EDT)
	From: John Baldwin <jhb@FreeBSD.org>
	To: Kirk McKusick <mckusick@mckusick.com>
	Subject: Re: Access times on executables (kern/25777)
	Cc: Jens Schweikhardt <schweikh@FreeBSD.org>,
		Brian Buhrow <buhrow@lothlorien.nfbcal.org>, arch@FreeBSD.org,
		Bruce Evans <bde@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305052113.h45LDpTh019142>