changeset 1753:3ffb288cc713 draft

I really, really, really need to finish switching to musl.
author Rob Landley <rob@landley.net>
date Sun, 12 Apr 2015 02:24:26 -0500
parents 24099772faf8
children 86f6fbeaca18
files sources/patches/uClibc-setns.patch
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/uClibc-setns.patch	Sun Apr 12 02:24:26 2015 -0500
@@ -0,0 +1,8 @@
+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);