DragonFly BSD
DragonFly bugs List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Francois Tigeot via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Jul 2012 09:15:15 -0700

Issue #2357 has been updated by Francois Tigeot.

% Done changed from 0 to 10

O_FRNONBLOCKING is also effectively unused
----------------------------------------
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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]