Repository navigation
5df0c67
Pre-release
Pre-release
fix(selkies): Run the unpacked bundle's server by its descriptor
The single-file executable ran the server of the tree it unpacked by
path, which the kernel resolves again after the tree was checked. It now
opens the server file without following a link and executes that file
(fexecve), so what runs is the file of the tree it checked. The glibc and
musl loaders both find $ORIGIN through /proc/self/exe, so the bundle's
libraries resolve as before (tried on Debian's glibc and Alpine 3.22's
musl), and the signal mask and SIGPIPE are reset as Command reset them.