summaryrefslogtreecommitdiff
path: root/src/user/lib/syscall.c
diff options
context:
space:
mode:
authordzwdz2023-01-08 21:14:03 +0100
committerdzwdz2023-01-08 21:14:03 +0100
commitc178ab5d5ca328d5b0072d54e3dc66d1b198df7b (patch)
tree0f9e3da6fc6133ab4bab052661bf8903e354d804 /src/user/lib/syscall.c
parent5defe97cc8b870fa50ba01999f80974b8b21c5b5 (diff)
kernel: let parents kill their children again
Diffstat (limited to 'src/user/lib/syscall.c')
-rw-r--r--src/user/lib/syscall.c4
1 files changed, 4 insertions, 0 deletions
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);
}