Stream: git-wasmtime

Topic: wasmtime / PR #3995 fix(sockets): preopened directories f...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2022 at 08:03):

haraldh opened PR #3995 from preopen_socket_compat to main:

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 https://github.com/bytecodealliance/wasmtime/issues/3936

Signed-off-by: Harald Hoyer <harald@profian.com>

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2022 at 08:04):

haraldh edited PR #3995 from preopen_socket_compat to main:

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: https://github.com/bytecodealliance/wasmtime/issues/3936

Signed-off-by: Harald Hoyer <harald@profian.com>

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 27 2025 at 16:14):

alexcrichton closed without merge PR #3995.

view this post on Zulip Wasmtime GitHub notifications bot (May 27 2025 at 16:14):

alexcrichton commented on PR #3995:

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.


Last updated: Dec 13 2025 at 19:03 UTC