summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordzwdz2023-09-29 09:21:20 +0200
committerdzwdz2023-09-29 09:21:20 +0200
commitdf9343bb9ea8311a0f0ea0cd37d91013ce59f2f9 (patch)
treebc8ba1cb07ab0de97911331d083dece124a115a4 /src
parent75f137b85a36338eafd27bf290910b102467ba5b (diff)
*: properly remove _sys_filicide
not sure how that slipped by
Diffstat (limited to 'src')
-rw-r--r--src/cmd/tests/tests.c1
-rw-r--r--src/kernel/syscalls.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/tests/tests.c b/src/cmd/tests/tests.c
index ce28eb3..2b7ba01 100644
--- a/src/cmd/tests/tests.c
+++ b/src/cmd/tests/tests.c
@@ -1,4 +1,5 @@
#include "tests.h"
+#include <camellia/compat.h>
#include <camellia/syscalls.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index c5a2f50..e449953 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -350,12 +350,6 @@ void _sys_sleep(long ms) {
timer_schedule(proc_cur, ms * 1000000);
}
-void _sys_filicide(void) {
- for (Proc *p = proc_cur->child; p; p = proc_next(p, proc_cur)) {
- proc_kill(p, -1);
- }
-}
-
int _sys_intr(const char __user *msg, size_t len) {
char buf[INTR_MAX];
int count = 0;