Page MenuHomeFreeBSD

Allow O_CLOEXEC to be used in dbopen() flags
ClosedPublic

Authored by lidl on Mar 4 2016, 3:25 AM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

lidl updated this revision to Diff 14062.Mar 4 2016, 3:25 AM
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.
lidl updated this object.Mar 4 2016, 3:31 AM
rpaulo accepted this revision.Mar 4 2016, 7:14 AM
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.