Re: [PATCH] socket_local46: Make room on the stack for IPv6 sockaddrs

2015-07-26 Thread Jesse Young
On Sun, 26 Jul 2015 21:29:31 +0200 Laurent Bercot ska-skaw...@skarnet.org wrote: On 26/07/2015 21:15, Jesse Young wrote: byte_copy() reads past the end of the sockaddr structure because it isn't sufficiently large enough to handle sockaddr_in6 addresses resulting in undefined behavior

[PATCH] socket_local46: Make room on the stack for IPv6 sockaddrs

2015-07-26 Thread Jesse Young
byte_copy() reads past the end of the sockaddr structure because it isn't sufficiently large enough to handle sockaddr_in6 addresses resulting in undefined behavior. armv6-alpine-linux-muslgnueabihf-gcc 5.1.0-r0 generates the UDF instruction in this case, causing programs to SIGILL. ---

[PATCH] s6-supervise: Optionally run child in a new pid namespace

2017-07-15 Thread Jesse Young
This patch modifies s6-supervise to use the Linux specific clone() system call to enable the child process to become the pid 1 of a new pid namespace. To enable it, compile with -DWANT_CLONE_NEWPID and make the ./clone-newpid file readable to s6-supervise in the desired service directories. I ask

Re: [PATCH] s6-supervise: Optionally run child in a new pid namespace

2017-07-16 Thread Jesse Young
On Sun, 16 Jul 2017 08:41:03 + "Laurent Bercot" wrote: > As I told Jesse on IRC, the patch isn't going in. I'm not including > OS-specific code into s6, even with a compile-time option. The main > reason for it is that it changes the API: the choice to spawn the >

Re: execlineb -S does not stop the command from running

2018-07-29 Thread Jesse Young
On Sun, Jul 29, 2018, at 08:50, Laurent Bercot wrote: > >`execline` does indeed exits when not given arguments, and displays the > >error `execlineb: warning: too few arguments: expecting at least 1 but > >got 0` but the first command gets run. > > > >``` > >$ execlineb -S1 -c 'echo wrong' >