Displaying 1 result from an estimated 1 matches for "badmake".
Did you mean:
badmail
2005 May 18
1
cvs commit: src/usr.bin/make job.c
...is new
directory.
Max worries about a possible race with this new approach.
> Its not a race between two nice programs :-) The function mkdtmp()
> creates a uniq directory, but make would then need to create a fifo
> in it. (This is two steps, and thus can allow a race)
>
> Assume badmake has same uid, so it can create a file in the uniq
> directory. (Of course this means that the bad guy already has
> your account.)
> Normal pattern:
> ---------------------
> make0: uses mkdtmp() to create dir /tmp/4321
> make0: tries to create fifo /tmp/4321
> make1: uses mk...