add pivot_root syscall wrapper

This commit is contained in:
Rich Felker 2011-04-05 12:32:10 -04:00
parent e72180083e
commit 5546f7a73a
1 changed files with 6 additions and 0 deletions

6
src/linux/pivot_root.c Normal file
View File

@ -0,0 +1,6 @@
#include "syscall.h"
int pivot_root(const char *new, const char *old)
{
return syscall(SYS_pivot_root, new, old);
}