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

Fix fcntl(fd, F_GETFL) from wasi-libc with write-only files #8824

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

alexcrichton
Copy link
Member

Looks like wasi-libc is testing for the READDIR right in addition to the READ right in the reported flags. Update write-only files to remove both the READ and READDIR rights accordingly.

Closes #8816

Looks like wasi-libc is testing for the READDIR right in addition to
the READ right in the reported flags. Update write-only files to remove
both the READ and READDIR rights accordingly.

Closes bytecodealliance#8816
@alexcrichton alexcrichton requested a review from a team as a code owner June 17, 2024 20:08
@alexcrichton alexcrichton requested review from pchickey and removed request for a team June 17, 2024 20:08
@alexcrichton alexcrichton added this pull request to the merge queue Jun 17, 2024
Merged via the queue into bytecodealliance:main with commit e97b74d Jun 17, 2024
36 checks passed
@alexcrichton alexcrichton deleted the fix-fcntl-getfl branch June 17, 2024 20:32
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.

File access mode difference.
2 participants