dispatchrun / wasi-go

A Go implementation of the WebAssembly System Interface (WASI)
Apache License 2.0
124 stars 7 forks source link

unix: consistent unix socket addresses #61

Closed chriso closed 1 year ago

chriso commented 1 year ago

This PR ensures unix socket addresses are consistent across platforms. Only Linux, empty unix socket addresses are seen as @ because the Go standard library and /x/sys package consider them to be abstract sockets (when the first byte in the address is a null byte). On other platforms, the unix socket address is instead an empty string.