diff options
author | dzwdz | 2023-09-25 00:12:57 +0200 |
---|---|---|
committer | dzwdz | 2023-09-25 00:12:57 +0200 |
commit | 2c78dc983d09e136dd016ae6ecee6b191e033de1 (patch) | |
tree | fa3f0c858a0c1b61d00d4a7474e80b1aa0368bbf /src/cmd/init | |
parent | 16138fc20fc9c472af37fb8385a997a0d9202f32 (diff) |
kernel/intr: accept a message, allow killing processes via intrs
Diffstat (limited to 'src/cmd/init')
-rw-r--r-- | src/cmd/init/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |