From owner-cvs-all Tue Oct 23 14:40:49 2001 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id BC53037B401; Tue, 23 Oct 2001 14:40:45 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 8F89F81D08; Tue, 23 Oct 2001 16:40:40 -0500 (CDT) Date: Tue, 23 Oct 2001 16:40:40 -0500 From: Alfred Perlstein To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfsclient nfs_lock.c Message-ID: <20011023164040.P15052@elvis.mu.org> References: <200110231911.f9NJBV565635@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110231911.f9NJBV565635@freefall.freebsd.org>; from rwatson@FreeBSD.org on Tue, Oct 23, 2001 at 12:11:31PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Robert Watson [011023 14:11] wrote: > rwatson 2001/10/23 12:11:31 PDT > > Modified files: > sys/nfsclient nfs_lock.c > Log: > o Add two comments identifying problems with the current nfs_lock.c > implementation, so that the information doesn't get lost. > (1) /var/run/lock is looked up relative to the current thread's root > directory, but it's not clear that's desirable. > (2) A race condition associated with live credential modification on > a shared credential is present when privilege is granted for > the purposes of talking to /var/run/lock. I have a hackish idea that may resolve this, would it possible to run the NDINIT passing the struct thread for init's proc? That should avoid the chroot problem and at the same time avoid the temporary uid problem. Can you test this? My apologies for getting so irritated with you the other day about this, in the future taking the time to guess at a possible solution might be better than simply complaining about it. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message