From 681470cf98a6e512627e67620b39c090b9e98aba Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Sep 2023 00:16:12 +0200 Subject: kernel: remove _sys_filicide (made redundant by _sys_intr) --- src/libc/compat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libc/compat.c') diff --git a/src/libc/compat.c b/src/libc/compat.c index c7aab63..459a0aa 100644 --- a/src/libc/compat.c +++ b/src/libc/compat.c @@ -17,7 +17,6 @@ long c0_fs_respond(void *buf, long ret, int flags) { return ret; } -/* old syscall */ long _sys_await(void) { struct sys_wait2 res; if (_sys_wait2(-1, 0, &res) < 0) { @@ -25,3 +24,7 @@ long _sys_await(void) { } return res.status; } + +void _sys_filicide(void) { + _sys_intr("kill", 4); +} -- cgit v1.2.3