Forráskód Böngészése

add pivot_root syscall wrapper

Rich Felker 14 éve
szülő
commit
5546f7a73a
1 módosított fájl, 6 hozzáadás és 0 törlés
  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);
+}