From 2c78dc983d09e136dd016ae6ecee6b191e033de1 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Sep 2023 00:12:57 +0200 Subject: kernel/intr: accept a message, allow killing processes via intrs --- src/cmd/init/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/init/init.c') diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c index 7f26f1b..5c49281 100644 --- a/src/cmd/init/init.c +++ b/src/cmd/init/init.c @@ -34,7 +34,7 @@ void redirect(const char *exe, const char *out, const char *in) { exit(1); } _sys_await(); - _sys_intr(); + _sys_intr(NULL, 0); _sys_sleep(1000); } } @@ -42,7 +42,7 @@ void redirect(const char *exe, const char *out, const char *in) { void shutdown(void) { printf("[init] intr\n"); - _sys_intr(); + _sys_intr(NULL, 0); _sys_sleep(1000); printf("[init] filicide\n"); _sys_filicide(); -- cgit v1.2.3