Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add utility types and functions for low-level interfacing between compartments #198

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

dbittman
Copy link
Contributor

This PR adds two low-level types for interfacing between compartments: SimpleBuffer and the Handle interface.

The simple buffer allows compartments to communicate simple bytes to each other, using Twizzler objects as shared memory. This is useful for e.g. the logger. The Handle interface allows programmers of services using secure gates to allow clients to open a handle to some server-side state that is automatically cleaned up when the handle is dropped or the compartment is unloaded.

@dbittman dbittman added the enhancement New feature or request label Aug 14, 2024
@dbittman dbittman self-assigned this Aug 14, 2024
@dbittman dbittman requested a review from gvnn3 as a code owner August 14, 2024 00:05
Copy link
Contributor

@gvnn3 gvnn3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbittman dbittman merged commit 81beb2f into main Aug 20, 2024
1 check passed
@dbittman dbittman deleted the dbittman-secgate-util branch August 20, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants