Submit #2356

Commit to add O_CLOEXEC support

Added by ftigeot about 1 year ago. Updated 10 months ago.

Status:Resolved Start date:
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

Partly taken from FreeBSD.

DragonFly's VFS layer has diverged from other BSD implementations and I'd
like someone familiar with kernel file handling to have a look at this commit
before pushing it.

--
Francois Tigeot

0001-Add-O_CLOEXEC-flag-to-open-2-and-fhopen-2.patch (4.8 kB) ftigeot, 04/28/2012 03:30 am

0001-Add-O_CLOEXEC-flag-to-open-2-and-fhopen-2.patch (4.9 kB) ftigeot, 07/29/2012 11:28 am


Related todos


Related issues

related to Bug #2398: [FEATURE REQUEST] OpenAT O_DIRECTORY and AT_SYMLINK_FOLLO... Closed 07/29/2012

History

Updated by alexh 10 months ago

you are aliasing O_DIRECT in your patch.

Updated by ftigeot 10 months ago

New patch reusing the current O_ROOTCRED value.

O_ROOTCRED may be removed in the future, resolving the aliasing issue.

Updated by ftigeot 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 50 to 100

A new version of the patch has been pushed

Also available in: Atom PDF