summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
authordzwdz2021-09-12 17:53:48 +0200
committerdzwdz2021-09-12 17:53:48 +0200
commit3ea9657aaaf02709c8f216285b095af29e76491c (patch)
tree36dfe7038f2ff829791ccdaf18b0ee71744207a6 /src/init/syscalls.c
parent5090829984cd4b3238d3f42eaad2431f1fd5282b (diff)
implement part of `fs_respond`
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r--src/init/syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index 8d5ecf2..50d7067 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -45,6 +45,10 @@ int _syscall_fs_wait(handle_t back, char __user *buf, int __user *len) {
return _syscall(_SYSCALL_FS_WAIT, back, (int)buf, (int)len);
}
+int _syscall_fs_respond(int ret, char __user *buf, int len) {
+ return _syscall(_SYSCALL_FS_RESPOND, ret, (int)buf, len);
+}
+
int _syscall_memflag(void __user *addr, size_t len, int flags) {
return _syscall(_SYSCALL_MEMFLAG, (int)addr, len, flags);
}