diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/init/fs/misc.c | 3 | ||||
-rw-r--r-- | src/init/tests/main.c | 2 | ||||
-rw-r--r-- | 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 <kernel/arch/generic.h> #include <kernel/handle.h> +#include <kernel/main.h> #include <kernel/vfs/mount.h> #include <shared/syscalls.h> #include <stdbool.h> |