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(sockets): preopened directories first #3995

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haraldh
Copy link
Contributor

@haraldh haraldh commented Apr 5, 2022

Existing libraries and applications use fd_prestat_get() to find out
about preopened directories. To not break the old logic of those,
if preopened sockets are added, push the directories first.

Fixes: #3936

Signed-off-by: Harald Hoyer [email protected]

Existing libraries and applications use `fd_prestat_get()` to find out
about preopened directories. To not break the old logic of those,
if preopened sockets are added, push the directories first.

See bytecodealliance#3936

Signed-off-by: Harald Hoyer <[email protected]>
@github-actions github-actions bot added the wasi Issues pertaining to WASI label Apr 5, 2022
@github-actions
Copy link

github-actions bot commented Apr 5, 2022

Subscribe to Label Action

cc @kubkon

This issue or pull request has been labeled: "wasi"

Thus the following users have been cc'd because of the following labels:

  • kubkon: wasi

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi Issues pertaining to WASI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In wasmtime CLI, passing --tcplisten argument breaks --dir
1 participant