Page MenuHomeFreeBSD

capsicum_helpers: Add LOOKUP flag
ClosedPublic

Authored by cem on Dec 9 2016, 8:46 PM.
Tags
None
Referenced Files
F136955016: D8743.id22973.diff
Thu, Nov 20, 8:03 PM
F136954938: D8743.id.diff
Thu, Nov 20, 8:03 PM
F136954892: D8743.id22786.diff
Thu, Nov 20, 8:03 PM
F136952996: D8743.diff
Thu, Nov 20, 7:53 PM
Unknown Object (File)
Thu, Nov 13, 7:37 PM
Unknown Object (File)
Tue, Nov 11, 10:26 PM
Unknown Object (File)
Tue, Nov 11, 10:16 AM
Unknown Object (File)
Tue, Nov 11, 9:56 AM
Subscribers
None

Details

Summary

Add a helper routine for opening a directory that is restricted to being
used for opening relative files as stdio streams.

Test Plan

I think this will really help basic adaptation of multi-file programs to
Capsicum. Rather than having each program initialize a rights object and
ioctl/fcntl arrays for their root fd for relative opens, consolidate in the
logical place.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6172
Build 6427: arc lint + arc unit

Event Timeline

cem retitled this revision from to capsicum_helpers: Add LOOKUP flag.
cem updated this object.
cem edited the test plan for this revision. (Show Details)
cem added reviewers: emaste, oshogbo, allanjude.
oshogbo edited edge metadata.
This revision is now accepted and ready to land.Dec 11 2016, 11:45 PM
This revision was automatically updated to reflect the committed changes.