From a957c8f0c6b35171378522e03b4360cfc5527832 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 2 Nov 2021 19:51:04 +0100 Subject: fork2 refactor: every process now has (only) a single controlled vfs_backend --- src/shared/syscalls.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/shared') diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index 3a21b66..1779dc8 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -50,14 +50,13 @@ int _syscall_close(handle_t); /** Creates a pair of front/back filesystem handles. * @param back a pointer to a handle_t which will store the back pointer */ -handle_t _syscall_fs_create(handle_t __user *back); +handle_t _syscall_fs_create(void); struct fs_wait_response { int len; // how much was put in *buf int id; // file id (returned by the open handler, passed to other calls) int offset; }; -int _syscall_fs_wait(handle_t back, char __user *buf, int max_len, - struct fs_wait_response __user *res); +int _syscall_fs_wait(char __user *buf, int max_len, struct fs_wait_response __user *res); int _syscall_fs_respond(char __user *buf, int ret); int _syscall_memflag(void __user *addr, size_t len, int flags); -- cgit v1.2.3