Page MenuHomeFreeBSD

Add zdopen(), for use in capability mode.
ClosedPublic

Authored by markj on Thu, Dec 6, 5:36 PM.

Details

Summary

This is analogous to fdopen(3).

Test Plan

I use this in savecore(8).

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

markj created this revision.Thu, Dec 6, 5:36 PM
markj edited the summary of this revision. (Show Details)Thu, Dec 6, 5:41 PM
markj edited the test plan for this revision. (Show Details)
markj added reviewers: oshogbo, emaste, capsicum.
delphij accepted this revision.Thu, Dec 6, 6:16 PM
delphij added a subscriber: delphij.

LGTM.

This revision is now accepted and ready to land.Thu, Dec 6, 6:16 PM
markj updated this revision to Diff 51679.Thu, Dec 6, 6:56 PM

Update the zopen.3 man page.

This revision now requires review to proceed.Thu, Dec 6, 6:56 PM
delphij accepted this revision.Thu, Dec 6, 7:02 PM
delphij added inline comments.
lib/libz/zopen.3
101 ↗(On Diff #51679)

[Optional] I think you probably want to put 13.0 here initially and amend it to 12.1 when the change was MFC'ed.

This revision is now accepted and ready to land.Thu, Dec 6, 7:02 PM
markj marked an inline comment as done.Thu, Dec 6, 7:12 PM

LGTM, thanks!

This revision was automatically updated to reflect the committed changes.