Date:        Tue, 23 Apr 2019 19:35:11 -0400
    From:        Ken Hornstein <[email protected]>
    Message-ID:  <[email protected]>

  | There are tons of examples like this in nmh; plenty of child processes
  | are created with descriptors open.

It is worth remembering that MH was written before close-on-exec was
invented ... I suspect that much of what you're seeing is simply a
result of that, rather than anything else in particular.

Using close-on-exec sounds like the right way to me, and if it turns
out that some particular uses require a fd to be passed down (which
usually also requires some arg to tell the child which fd that is)
then those can be fixed when discovered.

kre


-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to