From owner-freebsd-hackers Sat Mar 31 10:32:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id A73D137B718 for ; Sat, 31 Mar 2001 10:32:34 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2VIW9O14167; Sat, 31 Mar 2001 11:32:09 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103311832.f2VIW9O14167@harmony.village.org> To: David Malone Subject: Re: Security problems with access(2)? Cc: Paul Herman , Bill Moran , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 31 Mar 2001 19:23:38 +0100." <20010331192338.A45841@walton.maths.tcd.ie> References: <20010331192338.A45841@walton.maths.tcd.ie> <200103311819.f2VIJOO13998@harmony.village.org> Date: Sat, 31 Mar 2001 11:30:54 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010331192338.A45841@walton.maths.tcd.ie> David Malone writes: : Don't you need fstat to do this? (In which case you may as well just : open the file and fstat it anyway). There are times when you are traversing the tree that you need to stat before and after you open. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message