From owner-cvs-all Sun Nov 11 14:41:52 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 48BCD37B41E; Sun, 11 Nov 2001 14:41:45 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 1DB2E81D05; Sun, 11 Nov 2001 16:41:40 -0600 (CST) Date: Sun, 11 Nov 2001 16:41:40 -0600 From: Alfred Perlstein To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Cc: rwatson@freebsd.org, kris@freebsd.org Subject: Re: cvs commit: src/sys/sys vnode.h src/sys/nfsclient nfs_lock.c src/sys/kern vfs_vnops.c Message-ID: <20011111164140.H89342@elvis.mu.org> References: <200111112239.fABMd7Y55211@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: <200111112239.fABMd7Y55211@freefall.freebsd.org>; from alfred@FreeBSD.org on Sun, Nov 11, 2001 at 02:39:07PM -0800 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 * Alfred Perlstein [011111 16:39] wrote: > alfred 2001/11/11 14:39:07 PST > > Modified files: > sys/sys vnode.h > sys/nfsclient nfs_lock.c > sys/kern vfs_vnops.c > Log: > turn vn_open() into a wrapper around vn_open_cred() which allows > one to perform a vn_open using temporary/other/fake credentials. > > Modify the nfs client side locking code to use vn_open_cred() passing > proc0's ucred instead of the old way which was to temporary raise > privs while running vn_open(). This should close the race hopefully. And on -security there was much rejoicing. :) -- -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