Add missing POSIX O_CLOFORK

Ricardo Branco <[email protected]> Wed, 2 Jul 2025 21:21:26 +0200
Newsgroups gmane.os.dragonfly-bsd.kernel
Message-ID <[email protected]>
Hi!

I'm implementing the POSIX O_CLOFORK flag for *BSD and
the DragonflyBSD PR is available here:
https://github.com/DragonFlyBSD/DragonFlyBSD/pull/28

2 bugs were fixed:
- pipe2() should return EINVAL on invalid flags

It's 99% done and the TODO items are documented there.

Best,
Ricardo