Page MenuHomeFreeBSD

CHERI: add sooptcopyinptr to preserve pointer provenance
AcceptedPublic

Authored by brooks on Fri, Jun 19, 2:13 PM.
Tags
None
Referenced Files
F160557465: D57665.id.diff
Thu, Jun 25, 4:03 PM
F160500982: D57665.id180060.diff
Thu, Jun 25, 3:51 AM
F160499532: D57665.id180177.diff
Thu, Jun 25, 3:32 AM
Unknown Object (File)
Wed, Jun 24, 7:34 PM
Unknown Object (File)
Wed, Jun 24, 11:55 AM
Unknown Object (File)
Wed, Jun 24, 8:06 AM
Unknown Object (File)
Wed, Jun 24, 8:06 AM
Unknown Object (File)
Wed, Jun 24, 6:13 AM

Details

Reviewers
kib
markj
jhb
jrtc27
emaste
Group Reviewers
cheri
Summary

Most socket options don't involve pointers so make the default
sooptcopyin discard provenance and add a sooptcopyinptr that preserves.

Effort: CHERI upstreaming
Sponsored by: DARPA, AFRL, Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74240
Build 71123: arc lint + arc unit

Event Timeline

Link manpages to the description of pointer provenance in arch(7)

This revision is now accepted and ready to land.Wed, Jun 24, 1:41 PM
emaste added inline comments.
share/man/man9/socket.9
589

Should we strengthen this somewhat, e.g. "no consumers exist or are anticipated"? Is it "we didn't do this because nobody needs it now" or "we don't think this really makes sense". Given that we generally pass in buffers for the kernel to populate the latter is probably the case?

Be clear that sooptcopyoutptr is missing because it makes no sense

This revision now requires review to proceed.Thu, Jun 25, 10:48 AM
This revision is now accepted and ready to land.Thu, Jun 25, 2:35 PM