From: Rich Felker Date: Tue, 5 Apr 2011 16:32:10 +0000 (-0400) Subject: add pivot_root syscall wrapper X-Git-Tag: v0.7.7~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5546f7a73a9b7e53ee48f23d9b51922cef8c03df;p=oweals%2Fmusl.git add pivot_root syscall wrapper --- diff --git a/src/linux/pivot_root.c b/src/linux/pivot_root.c new file mode 100644 index 00000000..17e70c91 --- /dev/null +++ b/src/linux/pivot_root.c @@ -0,0 +1,6 @@ +#include "syscall.h" + +int pivot_root(const char *new, const char *old) +{ + return syscall(SYS_pivot_root, new, old); +}