summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
authordzwdz2022-05-02 19:25:02 +0200
committerdzwdz2022-05-02 19:25:02 +0200
commit577ed9e01a83c13bf151b5137e6fe1eace1c4f7c (patch)
tree750dd8a3536ce70d817e6920c89042ee94899a29 /src/init/syscalls.c
parentd9dc6a0c4c5047c3789a16ef623eeff7c240f5a9 (diff)
syscalls: fork() noreap flag
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r--src/init/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index 15acd1c..a374976 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -6,8 +6,8 @@ _Noreturn void _syscall_exit(int ret) {
__builtin_unreachable();
}
-int _syscall_fork(void) {
- return _syscall(_SYSCALL_FORK, 0, 0, 0, 0);
+int _syscall_fork(int flags) {
+ return _syscall(_SYSCALL_FORK, flags, 0, 0, 0);
}
int _syscall_await(void) {