Skip to content

Remove provision of unnecessary fd rights#2579

Merged
wenyongh merged 1 commit intobytecodealliance:mainfrom
zoraaver:fd-unnecessary-rights
Sep 22, 2023
Merged

Remove provision of unnecessary fd rights#2579
wenyongh merged 1 commit intobytecodealliance:mainfrom
zoraaver:fd-unnecessary-rights

Conversation

@zoraaver
Copy link
Contributor

The WASI docs allow for fewer rights to be applied to an fd than requested but not more. This behaviour is also asserted in the rust WASI tests, so it's necessary for those to pass as well.

The WASI docs allow for fewer rights to be applied to an fd than requested but
not more. This behaviour is also asserted in the rust WASI tests, so it's
necessary for those to pass as well.
Copy link
Contributor

@loganek loganek left a comment

Choose a reason for hiding this comment

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

LGTM, let's make sure this is highlighted in the release notes.

@wenyongh wenyongh merged commit 06527f7 into bytecodealliance:main Sep 22, 2023
@zoraaver zoraaver deleted the fd-unnecessary-rights branch September 22, 2023 09:35
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
The WASI docs allow for fewer rights to be applied to an fd than requested but
not more. This behavior is also asserted in the rust WASI tests, so it's necessary
for those to pass as well.
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.

3 participants