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

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sun Jul 29 09:09:34 PDT 2012


Issue #2357 has been updated by Francois Tigeot.


O_ROOTCRED is DragonFly-specific and effectively unused.
It can be removed without causing secondary issues
----------------------------------------
Bug #2357: open(2) flagspace is full
http://bugs.dragonflybsd.org/issues/2357

Author: Francois Tigeot
Status: New
Priority: High
Assignee: 
Category: 
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:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html


-- 
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