From owner-freebsd-arch@FreeBSD.ORG Mon May 5 14:13:53 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AE3337B401; Mon, 5 May 2003 14:13:53 -0700 (PDT) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93DD243FBD; Mon, 5 May 2003 14:13:52 -0700 (PDT) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.8/8.12.3) with ESMTP id h45LDpTh019142; Mon, 5 May 2003 14:13:51 -0700 (PDT) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200305052113.h45LDpTh019142@beastie.mckusick.com> To: John Baldwin In-Reply-To: Your message of "Mon, 05 May 2003 16:02:03 EDT." Date: Mon, 05 May 2003 14:13:51 -0700 From: Kirk McKusick cc: Brian Buhrow cc: arch@FreeBSD.org cc: Jens Schweikhardt Subject: Re: Access times on executables (kern/25777) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 21:13:53 -0000 Date: Mon, 05 May 2003 16:02:03 -0400 (EDT) From: John Baldwin To: Kirk McKusick Subject: Re: Access times on executables (kern/25777) Cc: Jens Schweikhardt , Brian Buhrow , arch@FreeBSD.org, Bruce Evans 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 <>< 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