Browse Source

add pivot_root syscall wrapper

Rich Felker 14 years ago
parent
commit
5546f7a73a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/linux/pivot_root.c

+ 6 - 0
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);
+}