Project

General

Profile

Feature #3687

fopen() O_CLOEXEC support via the "e" flag

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

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
Start date:
2013-04-03
Due date:
% Done:

100%

Estimated time:
2.00 h
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Linux glibc 2.7 introduced the "e" flag to cause a close-on-exec flag upon open.

See open(2) O_CLOEXEC.

This is highly useful as it avoid a race condition between fopen() and a subsequent call to fcntl().

History

#1

Updated by Rich Lowe about 7 years ago

  • Tags deleted (needs-triage)
  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Resolved in b89a2c3

Also available in: Atom PDF