From 5546f7a73a9b7e53ee48f23d9b51922cef8c03df Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 5 Apr 2011 12:32:10 -0400 Subject: [PATCH] add pivot_root syscall wrapper --- src/linux/pivot_root.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/linux/pivot_root.c 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); +} -- 2.25.1