projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e721800
)
add pivot_root syscall wrapper
author
Rich Felker
<dalias@aerifal.cx>
Tue, 5 Apr 2011 16:32:10 +0000
(12:32 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 5 Apr 2011 16:32:10 +0000
(12:32 -0400)
src/linux/pivot_root.c
[new file with mode: 0644]
patch
|
blob
diff --git a/src/linux/pivot_root.c
b/src/linux/pivot_root.c
new file mode 100644
(file)
index 0000000..
17e70c9
--- /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);
+}