From owner-cvs-lib Mon Mar 24 10:16:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA23375 for cvs-lib-outgoing; Mon, 24 Mar 1997 10:16:04 -0800 (PST) Received: from jekyll.piermont.com (jekyll.piermont.com [206.1.51.15]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA23298; Mon, 24 Mar 1997 10:14:20 -0800 (PST) Received: from [[UNIX: localhost]] ([[UNIX: localhost]]) by jekyll.piermont.com (8.8.5/8.6.12) with SMTP id NAA25490; Mon, 24 Mar 1997 13:13:25 -0500 (EST) Message-Id: <199703241813.NAA25490@jekyll.piermont.com> X-Authentication-Warning: jekyll.piermont.com: [[UNIX: localhost]] didn't use HELO protocol To: Bill Fenner cc: ache@nagual.ru, imp@village.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libtermcap pathnames.h termcap.c In-reply-to: Your message of "Mon, 24 Mar 1997 09:48:30 PST." <97Mar24.094840pst.177486@crevenia.parc.xerox.com> Reply-To: perry@piermont.com X-Reposting-Policy: redistribute only with permission Date: Mon, 24 Mar 1997 13:13:20 -0500 From: "Perry E. Metzger" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bill Fenner writes: > I think a lot would be solved by having a library function like > access() that also accepts a UID. Won't work. There is a race condition between the moment you use access() or anything like it and the moment you open the file. That's why no one in their right mind uses access() any longer. This has been done over and over... sigh... Perry