Project

General

Profile

Actions

Bug #2357

closed

open(2) flagspace is full

Added by ftigeot over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
04/28/2012
Due date:
% Done:

100%

Estimated time:

Description

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


Files


Related issues 1 (0 open1 closed)

Related to Bug #2398: [FEATURE REQUEST] OpenAT O_DIRECTORY and AT_SYMLINK_FOLLOW supportClosed07/29/2012

Actions
Actions

Also available in: Atom PDF