summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2023-01-08 21:14:03 +0100
committerdzwdz2023-01-08 21:14:03 +0100
commitc178ab5d5ca328d5b0072d54e3dc66d1b198df7b (patch)
tree0f9e3da6fc6133ab4bab052661bf8903e354d804 /src/shared
parent5defe97cc8b870fa50ba01999f80974b8b21c5b5 (diff)
kernel: let parents kill their children again
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/syscalls.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h
index f9e3832..690e928 100644
--- a/src/shared/include/camellia/syscalls.h
+++ b/src/shared/include/camellia/syscalls.h
@@ -3,27 +3,22 @@
#define _SYSCALL_EXIT 0
#define _SYSCALL_AWAIT 1
#define _SYSCALL_FORK 2
-
#define _SYSCALL_OPEN 3
#define _SYSCALL_MOUNT 4
#define _SYSCALL_DUP 5
-
#define _SYSCALL_READ 6
#define _SYSCALL_WRITE 7
#define _SYSCALL_GETSIZE 8
#define _SYSCALL_REMOVE 9
#define _SYSCALL_CLOSE 10
-
#define _SYSCALL_FS_WAIT 11
#define _SYSCALL_FS_RESPOND 12
-
#define _SYSCALL_MEMFLAG 13
#define _SYSCALL_PIPE 14
-
#define _SYSCALL_SLEEP 15
+#define _SYSCALL_FILICIDE 16
#define _SYSCALL_EXECBUF 100
-
#define _SYSCALL_DEBUG_KLOG 101
#ifndef ASM_FILE
@@ -78,6 +73,8 @@ long _syscall_pipe(handle_t __user user_ends[2], int flags);
void _syscall_sleep(long ms);
+void _syscall_filicide(void);
+
/* see shared/execbuf.h */
long _syscall_execbuf(void __user *buf, size_t len);