summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/syscalls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h
index f19f05a..1383ebd 100644
--- a/src/shared/syscalls.h
+++ b/src/shared/syscalls.h
@@ -15,6 +15,7 @@ enum {
_SYSCALL_OPEN,
_SYSCALL_MOUNT,
+ _SYSCALL_DUP,
_SYSCALL_READ,
_SYSCALL_WRITE,
@@ -53,8 +54,9 @@ int _syscall_await(void);
int _syscall_fork(int flags, handle_t __user *fs_front);
handle_t _syscall_open(const char __user *path, int len, int flags);
-
int _syscall_mount(handle_t h, const char __user *path, int len);
+handle_t _syscall_dup(handle_t from, handle_t to, int flags);
+
int _syscall_read(handle_t h, void __user *buf, size_t len, int offset);
int _syscall_write(handle_t h, const void __user *buf, size_t len, int offset);
int _syscall_close(handle_t h);