From c178ab5d5ca328d5b0072d54e3dc66d1b198df7b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 8 Jan 2023 21:14:03 +0100 Subject: kernel: let parents kill their children again --- src/user/lib/syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user/lib') diff --git a/src/user/lib/syscall.c b/src/user/lib/syscall.c index 50c71a8..d6ed0af 100644 --- a/src/user/lib/syscall.c +++ b/src/user/lib/syscall.c @@ -70,6 +70,10 @@ void _syscall_sleep(long ms) { return (void)_syscall(_SYSCALL_SLEEP, ms, 0, 0, 0, 0); } +void _syscall_filicide(void) { + return (void)_syscall(_SYSCALL_FILICIDE, 0, 0, 0, 0, 0); +} + long _syscall_execbuf(void __user *buf, size_t len) { return _syscall(_SYSCALL_EXECBUF, (long)buf, (long)len, 0, 0, 0); } -- cgit v1.2.3