diff options
-rw-r--r-- | src/linux/pivot_root.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); +} |