open(2) flagspace is full
Recent software expects to be able to use open with flags such as O_DIRECTORY or O_CLOEXEC; they are useful to prevent races and securities vulnerabilities.
I have looked at implementing O_CLOEXEC support, but all the bits in an int are already used; I have counted about 10 DragonFly-specific flags in the lot.
The standard flags, as defined in the current POSIX.1-2008 standard:
O_ROOTCRED is DragonFly-specific and effectively unused.
It can be removed without causing secondary issues
- % Done changed from 0 to 10
O_FRNONBLOCKING is also effectively unused
Patches to remove O_ROOTCRED and O_FRNONBLOCKING
Complete world+kernel builds are needed