Page MenuHomeFreeBSD

Allow O_CLOEXEC to be used in dbopen() flags
ClosedPublic

Authored by lidl on Mar 4 2016, 3:25 AM.
Tags
None
Referenced Files
F147759674: D5549.id14062.diff
Fri, Mar 13, 11:21 AM
Unknown Object (File)
Wed, Mar 11, 11:52 AM
Unknown Object (File)
Fri, Mar 6, 9:24 AM
Unknown Object (File)
Feb 1 2026, 7:16 AM
Unknown Object (File)
Jan 12 2026, 1:20 AM
Unknown Object (File)
Jan 10 2026, 9:04 AM
Unknown Object (File)
Jan 5 2026, 10:51 PM
Unknown Object (File)
Dec 28 2025, 10:00 AM
Subscribers

Details

Summary

Allow O_CLOEXEC to be used in dbopen() flags

There is also a small portability crutch, also present in NetBSD,
to allow compiling on a system that doesn't define O_CLOEXEC.

Obtained from: NetBSD (r1.17, r1.18)

Test Plan

Test compiled and run on sparc64.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lidl retitled this revision from to Allow O_CLOEXEC to be used in dbopen() flags Obtained from: NetBSD.
lidl updated this object.
lidl edited the test plan for this revision. (Show Details)
lidl added a reviewer: rpaulo.
lidl retitled this revision from Allow O_CLOEXEC to be used in dbopen() flags Obtained from: NetBSD to Allow O_CLOEXEC to be used in dbopen() flags.Mar 4 2016, 3:28 AM
lidl updated this object.
rpaulo edited edge metadata.
This revision is now accepted and ready to land.Mar 4 2016, 7:14 AM
This revision was automatically updated to reflect the committed changes.