tech-kern archive

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

Re: Which way for posix_spawn close-on-exec improvements?



On Apr 16, 2026, at 1:45 AM, Martin Husemann <martin%duskware.de@localhost> wrote:
> 
> On Thu, Apr 16, 2026 at 12:25:35AM -0700, Chris Hanson wrote:
> 
>> I'd love to hear thoughts on it. Neither seems like it'd be
>> particularly difficult to add. (Heck, we could have both if we wanted,
>> they don't really conflict?)
> 
> "Both" was my first gut reaction too. Both of them sound usefull.

And posix_spawn_file_actions_addclosefrom_np is supported on Solaris and Linux too, not just FreeBSD, and it’d probably be very straightforward to just port the FreeBSD code.

Sounds like a plan!

  -- Chris



Home | Main Index | Thread Index | Old Index