cvs commit: src/usr.bin/make job.c
Alexander Leidinger
netchild at FreeBSD.org
Tue May 17 05:45:10 PDT 2005
Max Okumoto <okumoto at ucsd.edu> 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? :-)
Are you sure? mkdtemp() generates a "random" name like mkstemp() does, so the
race would have existed already before (but the probability is very low that
two make instances generate the same name)...
Bye,
Alexander.
--
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Oh my God! Space aliens! Don't eat me, I have a wife and kids! Eat
them.
-- Homer Simpson
Treehouse of Horror VII
More information about the cvs-src
mailing list