add pivot_root syscall wrapper
This commit is contained in:
parent
e72180083e
commit
5546f7a73a
1 changed files with 6 additions and 0 deletions
6
src/linux/pivot_root.c
Normal file
6
src/linux/pivot_root.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include "syscall.h"
|
||||
|
||||
int pivot_root(const char *new, const char *old)
|
||||
{
|
||||
return syscall(SYS_pivot_root, new, old);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue