summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r--src/init/syscalls.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index daddde9..ed7420e 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -14,8 +14,8 @@ int _syscall_await(void) {
return _syscall(_SYSCALL_AWAIT, 0, 0, 0, 0);
}
-int _syscall_fork(int flags) {
- return _syscall(_SYSCALL_FORK, flags, 0, 0, 0);
+int _syscall_fork(int flags, handle_t __user *fs_front) {
+ return _syscall(_SYSCALL_FORK, flags, (int)fs_front, 0, 0);
}
handle_t _syscall_open(const char __user *path, int len) {
@@ -38,10 +38,6 @@ int _syscall_close(handle_t h) {
return _syscall(_SYSCALL_CLOSE, (int)h, 0, 0, 0);
}
-handle_t _syscall_fs_fork2(void) {
- return _syscall(_SYSCALL_FS_FORK2, 0, 0, 0, 0);
-}
-
int _syscall_fs_wait(char __user *buf, int max_len, struct fs_wait_response __user *res) {
return _syscall(_SYSCALL_FS_WAIT, (int)buf, max_len, (int)res, 0);
}