summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2021-10-09 11:53:38 +0000
committerdzwdz2021-10-09 11:53:38 +0000
commitd9463f6e977ce686ac7a55f22b0b25b0ce67b025 (patch)
tree768fbb673945dba63dc8c5e02f8a4238da4148d7 /src/shared
parentfaed927869451cf4070abba91b5a9cf9e32c9a6c (diff)
parentacf41ff6fee44dd24f9383d96fecd992dcb072e2 (diff)
Merge branch 'main' of github.com:dzwdz/camellia
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/syscalls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h
index 44a2f5d..3a21b66 100644
--- a/src/shared/syscalls.h
+++ b/src/shared/syscalls.h
@@ -27,12 +27,12 @@ int _syscall(int, int, int, int, int);
/** Kills the current process.
* TODO: what happens to the children?
*/
-_Noreturn void _syscall_exit(const char __user *msg, size_t len);
+_Noreturn void _syscall_exit(int ret);
-/** Waits for a child to exit, putting its exit message into *buf.
- * @return the length of the message
+/** Waits for a child to exit.
+ * @return the value the child passed to exit()
*/
-int _syscall_await(char __user *buf, int len);
+int _syscall_await(void);
/** Creates a copy of the current process, and executes it.
* All user memory pages get copied too.