Page MenuHomeFreeBSD

capsicum_helpers: Add LOOKUP flag
ClosedPublic

Authored by cem on Dec 9 2016, 8:46 PM.
Tags
None
Referenced Files
F132146718: D8743.id22973.diff
Tue, Oct 14, 4:37 AM
Unknown Object (File)
Sun, Sep 28, 6:21 AM
Unknown Object (File)
Tue, Sep 16, 10:01 PM
Unknown Object (File)
Sep 9 2025, 7:00 PM
Unknown Object (File)
Aug 21 2025, 7:51 PM
Unknown Object (File)
Aug 12 2025, 8:57 PM
Unknown Object (File)
Jun 25 2025, 10:05 AM
Unknown Object (File)
Jun 23 2025, 12:09 PM
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

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

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.