On 10/07/2018 17:40, Martin Buchholz wrote:
I agree with this approach - it parallels the efforts made with O_CLOEXEC in past years.

According to
https://www.freebsd.org/cgi/man.cgi?query=socket&sektion=2
SOCK_CLOEXEC is also available on freebsd.

This is something that doesn't come up too often, I assume because most developers using ProcessBuilder/Process rather than invoking fork from native code.

If we are going to tackle this issue then it will require changes in several places, changing PlainSocketImpl.c is just one of several.

-Alan

Reply via email to