diff options
author | dzwdz | 2021-10-04 21:01:31 +0200 |
---|---|---|
committer | dzwdz | 2021-10-04 21:01:31 +0200 |
commit | 1d5e56659af7945daac0f79a06b839bfd59c8f1f (patch) | |
tree | 70e9c94177f5877ca9b850294c1aa43fece9cba1 /src/shared | |
parent | 16a5b4c9ed410daba848a781f8b8978846c6b836 (diff) |
remove support for processes returning strings on exit
This isn't really all that useful, it doesn't enable anything that
wasn't possible before. With it removed I'll be able to implement
process_exit() in a much simpler way.
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 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. |