Re: make not closing fds?

2013-09-01 Thread Christos Zoulas
In article 522317ab.1020...@netbsd.org, Frank Kardel kar...@netbsd.org 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

Re: make not closing fds?

2013-09-01 Thread Frank Kardel
That's what I assume too. But, should normal commands really get access to those fds? Frank On 09/01/13 14:06, Christos Zoulas wrote: In article 522317ab.1020...@netbsd.org, Frank Kardel kar...@netbsd.org wrote: While building a release I saw in fstat that commands started from make had many

Re: make not closing fds?

2013-09-01 Thread Christos Zoulas
On Sep 1, 2:24pm, kar...@netbsd.org (Frank Kardel) wrote: -- Subject: Re: make not closing fds? | That's what I assume too. But, should normal commands really get access | to those fds? | No, I don't think so. Perhaps the pipes are used to redirect and collect the output of normal commands.