From 19dd090a0f68765db87990ef8eda9bf77bb29581 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 4 Jun 2011 21:21:41 +0200 Subject: libc: flesh out linux scheduler functions Most stuff was taken from the eglibc. Signed-off-by: Henning Heinold Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/unshare.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/sysdeps/linux/common/unshare.c (limited to 'libc/sysdeps/linux/common/unshare.c') diff --git a/libc/sysdeps/linux/common/unshare.c b/libc/sysdeps/linux/common/unshare.c new file mode 100644 index 000000000..624ca12e3 --- /dev/null +++ b/libc/sysdeps/linux/common/unshare.c @@ -0,0 +1,15 @@ +/* vi: set sw=4 ts=4: */ +/* + * unshare() for uClibc + * + * Copyright (C) 2011 Henning Heinold + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include +#include + +#if defined __NR_unshare +_syscall1(int, unshare, int, flags) +#endif -- cgit v1.2.3