Mercurial > hg > aboriginal
view sources/patches/uClibc-setns.patch @ 1839:c8293b3ab81f draft default tip
Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 Jan 2016 21:18:52 -0600 |
parents | 3ffb288cc713 |
children |
line wrap: on
line source
The setns system call is only 5 years old, so uClibc can't be expected to support it, but toybox needs it. --- /dev/null 2015-03-12 00:35:23.675793740 -0500 +++ uClibc/libc/sysdeps/linux/common/setns.c 2015-03-19 13:18:05.711157730 -0500 @@ -0,0 +1,3 @@ +#include <sys/syscall.h> + +_syscall2(int, setns, int, fd, int, nstype);