Handle set-size rights correctly when truncating a file.#115
Merged
sunfishcode merged 1 commit intobytecodealliance:masterfrom Apr 30, 2019
Merged
Handle set-size rights correctly when truncating a file.#115sunfishcode merged 1 commit intobytecodealliance:masterfrom
sunfishcode merged 1 commit intobytecodealliance:masterfrom
Conversation
If a path_open call is requesting __WASI_RIGHT_FD_FILESTAT_SET_SIZE, interpret that as a request for write privleges. If it is requesting O_TRUNC, require __WASI_RIGHT_PATH_FILESTAT_SET_SIZE, since this is a path operation rather than a FD operation.
grishasobol
pushed a commit
to grishasobol/wasmtime
that referenced
this pull request
Nov 29, 2021
* Allocate mem on demand * More control in with_direct_access_mut
howjmay
pushed a commit
to howjmay/wasmtime
that referenced
this pull request
Jan 24, 2022
Use GetFunc where possible.
pchickey
added a commit
to pchickey/wasmtime
that referenced
this pull request
May 16, 2023
rather than the freestanding function which existed before we added that to the code generator in wasmtime#5589
mooori
pushed a commit
to mooori/wasmtime
that referenced
this pull request
Dec 20, 2023
Add summary file with test results
dhil
added a commit
to frank-emrich/wasmtime
that referenced
this pull request
Feb 23, 2024
avanhatt
pushed a commit
to wellesley-prog-sys/wasmtime
that referenced
this pull request
Oct 9, 2024
Make `isaspec` output line length configurable, and increase it to 120. Updates avanhatt#62
alexcrichton
pushed a commit
to alexcrichton/wasmtime
that referenced
this pull request
Oct 8, 2025
bongjunj
pushed a commit
to prosyslab/wasmtime
that referenced
this pull request
Oct 20, 2025
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.
If a path_open call is requesting __WASI_RIGHT_FD_FILESTAT_SET_SIZE,
interpret that as a request for write privleges. If it is requesting
O_TRUNC, require __WASI_RIGHT_PATH_FILESTAT_SET_SIZE, since this is
a path operation rather than a FD operation.