diff options
author | dzwdz | 2022-05-02 21:47:11 +0200 |
---|---|---|
committer | dzwdz | 2022-05-02 21:47:11 +0200 |
commit | 8e276c64c9394d0964506bd6eaa7d4e0547d1ead (patch) | |
tree | 4ebefd7507061a04128764f84b56a60b76b7c521 /src/shared | |
parent | 577ed9e01a83c13bf151b5137e6fe1eace1c4f7c (diff) |
meta: write a script to generate `src/init/syscalls.c`
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/syscalls.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index 5773190..d986d11 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -44,10 +44,10 @@ int _syscall_fork(int flags); handle_t _syscall_open(const char __user *path, int len); -int _syscall_mount(handle_t, const char __user *path, int len); -int _syscall_read(handle_t, void __user *buf, size_t len, int offset); -int _syscall_write(handle_t, const void __user *buf, size_t len, int offset); -int _syscall_close(handle_t); +int _syscall_mount(handle_t h, const char __user *path, int len); +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); handle_t _syscall_fs_fork2(void); |