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

Enable robustness against malicious drivers #32

Merged
merged 12 commits into from
Oct 20, 2023

Conversation

nspin
Copy link
Member

@nspin nspin commented Oct 20, 2023

Rework sel4-shared-ring-buffer* crates to catch driver misbehavior and report it as Result::Err. This enables dependent crates to make simplifying assumptions about Result::Ok values, and react to driver behavior violations gracefully.

As a side effect, this PR also adds write support to sel4-async-block-io.

…icious peers

- Rework ring buffer API to only expose good peer behavior
- Add sel4-shared-ring-buffer-bookkeeping crate

And rename from crates/sel4-async/request-statuses

Signed-off-by: Nick Spinale <[email protected]>
On sel4-shared-ring-buffer-bookkeeping

Signed-off-by: Nick Spinale <[email protected]>
@nspin nspin merged commit c1f0292 into seL4:main Oct 20, 2023
14 checks passed
@nspin nspin deleted the pr/robustness-against-malicious-drivers branch October 20, 2023 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant