cvs commit: src/usr.bin/make job.c
Joerg Sonnenberger
joerg at britannica.bec.de
Tue May 17 00:11:58 PDT 2005
On Mon, May 16, 2005 at 09:16:03PM -0700, Max Okumoto wrote:
> If I use mkdtemp(), there is a chance that someone with the
> same UID could race to build the fifo. Do we care about
> races with ourselves? Or am I just being toooo paranoid? :-)
You just check the return value of mkdir, if it already exists,
you know that something evil happened. That's enough to prevent
races.
Joerg
More information about the cvs-src
mailing list