Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 13:13:20 -0500
From:      "Perry E. Metzger" <perry@piermont.com>
To:        Bill Fenner <fenner@parc.xerox.com>
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 
Message-ID:  <199703241813.NAA25490@jekyll.piermont.com>
In-Reply-To: Your message of "Mon, 24 Mar 1997 09:48:30 PST." <97Mar24.094840pst.177486@crevenia.parc.xerox.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

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



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