Repository navigation
Add a revoke-grate to revoke specific (cageid, fd) pairs. - #243
Open
stupendoussuperpowers wants to merge 12 commits into
Open
stupendoussuperpowers wants to merge 12 commits into
stupendoussuperpowers wants to merge 12 commits into
Conversation
Signed-off-by: Sanchit Sahay <sanchitsahay.tech@gmail.com>
…es into revoke-grate
Yaxuan-w
reviewed
Nov 22, 2026
| edition = "2024" | ||
|
|
||
| [dependencies] | ||
| # grate-rs = { git = "https://github.com/Lind-Project/lind-wasm-example-grates", branch = "main", subdir = "lib/grate-rs" } |
Member
There was a problem hiding this comment.
I guess we need to revert this back?
Contributor
Author
There was a problem hiding this comment.
I'll do that once other changes are tested/approved. Since I'm modifying the grate-rs to add a new constant, pointing this to the main branch would fail to compile for anyone who wants to run it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds this through a
revokefd(cage, fd, FLAGS)syscall available to downstream grates/cages that emulates read/writes/etc. syscalls once revoked.For exact semantics and usage see: README.md