From: Rich Felker Date: Tue, 5 Apr 2011 16:32:10 +0000 (-0400) Subject: add pivot_root syscall wrapper X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=5546f7a73a9b7e53ee48f23d9b51922cef8c03df;hp=e72180083e4b0203d1883b6054198decdb60071c 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); +}