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 11:00:33 -0700

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