Download raw body.
[PATCH]: Add POSIX O_CLOFORK flag
On 6/22/25 8:54 PM, Ingo Schwarze wrote: > Hello Ricardo, > > Ricardo Branco wrote on Sun, Jun 22, 2025 at 07:30:52PM +0200: >> On 6/22/25 2:35 AM, Philip Guenther wrote: >>> Rebased diff, with cleared-on-exec behavior, attached, in case you >>> want to play with it, Richardo. >>> Regress tests would be wonderful :) >> I modified your code a bit and tested this patch with a minimal tweak >> to the Illumos testsuite which contains hundreds of tests and it works! >> If you're ok with it, I'll extend the current regression tests with >> O_CLOEXEC to include O_CLOFORK. > Absolutely not OK. OpenBSD cannot use your gist. As explained in my > previous message, OpenBSD requires a free license, preferably I know. That's for testing the patch only. ;)
[PATCH]: Add POSIX O_CLOFORK flag