[DragonFlyBSD - Bug #2357] open(2) flagspace is full

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sun Jul 29 11:00:33 PDT 2012

Issue #2357 has been updated by Francois Tigeot.

File 0001-kernel-remove-O_ROOTCRED.patch added
File 0002-kernel-remove-O_FRNONBLOCKING.patch added

Patches to remove O_ROOTCRED and O_FRNONBLOCKING

Complete world+kernel builds are needed
Bug #2357: open(2) flagspace is full

Author: Francois Tigeot
Status: New
Priority: High
Target version: 

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:

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list