Project

General

Profile

Feature #3665

Implement O_CLOEXEC as an open() flag

Added by Theo Schlossnagle about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2013-04-01
Due date:
% Done:

100%

Estimated time:
4.00 h
Difficulty:
Medium
Tags:

Description

Allow opening a file with the close-on-exec flag set as it is added to the process file table. This prevents the race between open(2) and fcntl(..., F_SETFD, FD_CLOEXEC). This is implemented on Linux and Solaris 11.

History

#1

Updated by Theo Schlossnagle about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
#2

Updated by Rich Lowe about 6 years ago

  • Subject changed from Implement O_CLOEXEC as an open() flag. to Implement O_CLOEXEC as an open() flag
#3

Updated by Rich Lowe about 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
  • Tags deleted (needs-triage)

Resolved in b075ad5

Also available in: Atom PDF