Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make not closing fds?

In article <>,
Frank Kardel  <> wrote:
>While building a release I saw in fstat that commands started from make 
>had many (pipe) file descriptors allocated. Is make missing
>setting FD_CLOEXEC/closing before fork on these ? While this is not 
>really critical it opens up possibilities to clobber at least the output 
>and gobble up
>input data with misbehaved programs.

I believe parallel make passes tokens through fds to children to keep
track of how many parallel makes are running.


Home | Main Index | Thread Index | Old Index