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

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Mon Jul 30 04:42:54 PDT 2012


Issue #2357 has been updated by Francois Tigeot.

Status changed from New to Resolved
% Done changed from 10 to 100

Both patches pushed today
----------------------------------------
Bug #2357: open(2) flagspace is full
http://bugs.dragonflybsd.org/issues/2357

Author: Francois Tigeot
Status: Resolved
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