annotate sources/patches/uClibc-setns.patch @ 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
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1753
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 The setns system call is only 5 years old, so uClibc can't be expected to support it, but toybox needs it.
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 --- /dev/null 2015-03-12 00:35:23.675793740 -0500
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 +++ uClibc/libc/sysdeps/linux/common/setns.c 2015-03-19 13:18:05.711157730 -0500
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 @@ -0,0 +1,3 @@
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 +#include <sys/syscall.h>
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 +
3ffb288cc713 I really, really, really need to finish switching to musl.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 +_syscall2(int, setns, int, fd, int, nstype);