Download raw body.
close-on-exec
On Wed, 29 Dec 2021 at 11:56, Stefan Sperling <stsp@stsp.name> wrote: x> Do all of the various C libraries in use on Linux systems support the > close-on-exec flag? The linux kernel supports O_CLOEXEC since 2.6.23, > glibc supports the fopen "e" flag since 2.7. I have not checked other > libc, and I do not even know which libc are important to people running > got-portable. I think this should be fine. I've been using O_CLOEXEC on Linux for years without running into ancient version/portability problems. As for different libc implementations, the two major ones which GoT is likely to be linked against are libc and musl, both of which support the O_CLOEXEC flag, so I think we should be OK with this. Kindly, Thomas
close-on-exec