This is an archive of the discontinued LLVM Phabricator instance.

[libc] Restrict access to the RPC Process internals
ClosedPublic

Authored by jhuber6 on May 16 2023, 11:41 AM.

Details

Summary

This patch changes the Process struct to only provide the functions
expected to be visible by the interface. So, now we only export the
open, reset, and size query functions. This prevents users of the
interface from messing with the internals of the process, so now the
only existing failure mode is mismatched send and recieve calls.

Diff Detail

Event Timeline

jhuber6 created this revision.May 16 2023, 11:41 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 16 2023, 11:41 AM
jhuber6 requested review of this revision.May 16 2023, 11:41 AM
michaelrj accepted this revision.May 17 2023, 3:46 PM
This revision is now accepted and ready to land.May 17 2023, 3:46 PM
This revision was landed with ongoing or failed builds.May 17 2023, 3:48 PM
This revision was automatically updated to reflect the committed changes.