cvs commit: src/usr.bin/make job.c

Simon L. Nielsen simon at
Thu May 19 05:43:55 PDT 2005

On 2005.05.18 08:41:14 -0700, Max Okumoto wrote:

> Alexander suggested that I replace that code with
>     mkdtemp(template)
>     mkfifo(tempalte + "/fifo")
> Which removed alot of the code duplication, but added the race
> back in. [...]

Ehh, where is the race?  mkdtemp creates a unique directory with
permissions 0700 so nobody else can race make(1) to the fifo in the
temporary... or am I missing something?

Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-security mailing list