Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 23:10:57 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        Bruce Evans <bde@zeta.org.au>, Matthew Dillon <dillon@apollo.backplane.com>, Peter Wemm <peter@wemm.org>, Robert Watson <rwatson@FreeBSD.ORG>, freebsd-arch@FreeBSD.ORG
Subject:   Re: cur{thread/proc}, or not.
Message-ID:  <20011114231057.K13393@elvis.mu.org>
In-Reply-To: <20011115132945.C33267@monorchid.lemis.com>; from grog@FreeBSD.org on Thu, Nov 15, 2001 at 01:29:45PM %2B1030
References:  <20011112165530.B34657-100000@delplex.bde.org> <200111121009.fACA9SI75024@apollo.backplane.com> <20011111191735.00D053807@overcee.netplex.com.au> <20011112165530.B34657-100000@delplex.bde.org> <200111121009.fACA9SI75024@apollo.backplane.com> <20011115132945.C33267@monorchid.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If you want to see why curproc sucks then please investigate what
happens when you NDINIT a nameidata with another thread pointer
other than your own, then perform a vn_open.  kablooey!

My recent addition of vn_open_cred and modification of nfs_lock.c
was to get around this badness of the API.

-- 
-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 freebsd-arch" in the body of the message




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