Skip to content

fix(sockets): preopened directories first - #3995

Closed
haraldh wants to merge 1 commit into
bytecodealliance:mainfrom
haraldh:preopen_socket_compat
Closed

haraldh wants to merge 1 commit into
bytecodealliance:mainfrom
haraldh:preopen_socket_compat

Conversation

@haraldh

@haraldh haraldh commented Apr 5, 2022 •

Copy link
Copy Markdown
Contributor

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 harald@profian.com

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 <harald@profian.com>
@github-actions github-actions Bot added the wasi Issues pertaining to WASI label Apr 5, 2022
@github-actions

github-actions Bot commented Apr 5, 2022

Copy link
Copy Markdown
Contributor

Subscribe to Label Action

cc @kubkon

Details 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.

@alexcrichton

Copy link
Copy Markdown
Member

This PR is pretty old at this point and WASIp1 bits are generally left to stay as-is so I'm going to close this.

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

2 participants