[PATCH] Implement decoding of NS_* ioctl commands
Dmitry V. Levin
ldv at altlinux.org
Fri Apr 14 02:49:28 UTC 2017
On Thu, Apr 13, 2017 at 10:08:36PM +0300, Dmitry V. Levin wrote:
> On Thu, Apr 13, 2017 at 06:58:00PM +0300, Dmitry V. Levin wrote:
> > On Thu, Apr 13, 2017 at 10:10:11PM +0700, Nikolay Marchuk wrote:
> > > + pid = clone(child, tail_alloc(1) + 1,
> > > + CLONE_NEWUSER | CLONE_UNTRACED | SIGCHLD, pipefd);
> OK, I've applied these trivial changes myself and pushed it.
And two more commits on top of it, to workaround issues with this clone()
call on niche architectures.
First, there is no clone() on ia64, but there is a __clone2() with a
slightly different semantics instead. The latter is documented but
no prototype is provided by glibc.
Second, it crashes with SIGBUS on hppa which is not happy with the
When using obscure functions like clone(), issues are popping up
like mushrooms after the rain.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the Strace-devel