Feature #3665

Implement O_CLOEXEC as an open() flag

Added by Theo Schlossnagle over 4 years ago. Updated over 4 years ago.

Status:ResolvedStart date:2013-04-01
Priority:NormalDue date:
Assignee:Theo Schlossnagle% Done:

100%

Category:kernelEstimated time:4.00 hours
Target version:-
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 over 4 years ago

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

#2 Updated by Rich Lowe over 4 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 over 4 years ago

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

Resolved in b075ad5

Also available in: Atom