mirror of
https://github.com/uselessd/alcove.git
synced 2026-04-15 09:15:19 +00:00
f3df938969f50dcffa8f9430786caf727e8a9866
Set the exec() status of the child before reading from the child's
stdin/stderr: the exec status determines the message type (proxy or
stdout) returned by the port.
Begin recording the exit status of the child. Currently it is just a
non-zero number. It should be set to the actual exit status of the
child. The value should be reported to the erlang side as well:
{exit_status, integer()}
alcove
Sandbox for Erlang ports.
Tests
The tests currently rely on having a statically linked version of busybox. On Ubuntu:
apt-get install busybox-static
A statically linked executable is required because the tests do a chroot(2) to /bin before exec'ing the binary.
Description
Languages
C
71.5%
Erlang
27.1%
Makefile
0.7%
Shell
0.7%