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
Unknown Object (File)
Fri, Sep 18, 6:09 PM
Unknown Object (File)
Wed, Sep 16, 6:07 PM
Unknown Object (File)
Wed, Sep 16, 6:04 PM
Unknown Object (File)
Sat, Sep 12, 8:39 PM
Unknown Object (File)
Sat, Sep 12, 8:39 PM
Unknown Object (File)
Sat, Sep 12, 8:36 PM
Unknown Object (File)
Fri, Sep 11, 3:17 PM
Unknown Object (File)
Sep 8 2026, 4:53 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.