From d9dc6a0c4c5047c3789a16ef623eeff7c240f5a9 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 2 May 2022 19:03:16 +0200 Subject: shared: fix some stuff i broke + compiler warnings --- src/init/fs/misc.c | 3 ++- src/init/tests/main.c | 2 +- src/kernel/proc.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/init/fs/misc.c b/src/init/fs/misc.c index 53373f4..b962b64 100644 --- a/src/init/fs/misc.c +++ b/src/init/fs/misc.c @@ -73,9 +73,10 @@ static void fs_respond_delegate(struct fs_wait_response *res, handle_t delegate, case VFSOP_CLOSE: _syscall_close(delegate); - _syscall_fs_respond(NULL, 0); // isn't it kinda weird that i even have to respond to close()s? // i suppose it makes the API more consistent + _syscall_fs_respond(NULL, 0); + break; default: /* unsupported / unexpected */ diff --git a/src/init/tests/main.c b/src/init/tests/main.c index 1c1e817..ed50229 100644 --- a/src/init/tests/main.c +++ b/src/init/tests/main.c @@ -105,5 +105,5 @@ void test_all(void) { run_forked(test_faults); run_forked(test_interrupted_fs); run_forked(test_orphaned_fs); -// run_forked(stress_fork); + run_forked(stress_fork); } diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 2e7f14d..26227e1 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -1,6 +1,7 @@ #pragma once #include #include +#include #include #include #include -- cgit v1.2.3