Paul Eggert <[email protected]> writes: > Portability problems not fixed by Gnulib: > @itemize > +@item > +On many platforms, this function does not support the @code{O_CLOFORK} flag: > +glibc 2.44, musl libc, FreeBSD 14, NetBSD 10, OpenBSD 7.0, DragonFly BSD 6.4. > @end itemize
I wonder if it will ever be added to glibc, which would of course require Linux to add it. Someone wrote a patch in 2020 [1], and there was some follow up discussion in 2022 [2]. From my skim of the thread, the Linux people were not fans of the feature, or at least felt that a stronger argument would need to presented to warrant adding it. Collin [1] https://lore.kernel.org/all/[email protected]/ [2] https://lore.kernel.org/all/[email protected]/
