Skip to content

Add a revoke-grate to revoke specific (cageid, fd) pairs. - #243

Open
stupendoussuperpowers wants to merge 12 commits into
Lind-Project:mainfrom
stupendoussuperpowers:revoke-grate
Open

stupendoussuperpowers wants to merge 12 commits into
Lind-Project:mainfrom
stupendoussuperpowers:revoke-grate

Conversation

@stupendoussuperpowers

@stupendoussuperpowers stupendoussuperpowers commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

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

edition = "2024"

[dependencies]
# grate-rs = { git = "https://github.com/Lind-Project/lind-wasm-example-grates", branch = "main", subdir = "lib/grate-rs" }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I guess we need to revert this back?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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.

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.

2 participants