cvs commit: src/usr.bin/make job.c
Simon L. Nielsen
simon at FreeBSD.org
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 : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20050519/aa1f3b85/attachment.bin
More information about the freebsd-security
mailing list