diff options
author | dzwdz | 2023-09-25 00:12:57 +0200 |
---|---|---|
committer | dzwdz | 2023-09-25 00:12:57 +0200 |
commit | 2c78dc983d09e136dd016ae6ecee6b191e033de1 (patch) | |
tree | fa3f0c858a0c1b61d00d4a7474e80b1aa0368bbf /src/libk | |
parent | 16138fc20fc9c472af37fb8385a997a0d9202f32 (diff) |
kernel/intr: accept a message, allow killing processes via intrs
Diffstat (limited to 'src/libk')
-rw-r--r-- | src/libk/include/camellia/syscalls.h | 2 | ||||
-rw-r--r-- | src/libk/include/limits.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libk/include/camellia/syscalls.h b/src/libk/include/camellia/syscalls.h index d27ae0c..c7e2f10 100644 --- a/src/libk/include/camellia/syscalls.h +++ b/src/libk/include/camellia/syscalls.h @@ -75,7 +75,7 @@ long _sys_pipe(hid_t __user user_ends[2], int flags); void _sys_sleep(long ms); void _sys_filicide(void); -void _sys_intr(void); +int _sys_intr(const char __user *msg, size_t len); void _sys_intr_set(void __user *ip); uint32_t _sys_getpid(void); diff --git a/src/libk/include/limits.h b/src/libk/include/limits.h index 4cb972d..f0f028c 100644 --- a/src/libk/include/limits.h +++ b/src/libk/include/limits.h @@ -3,3 +3,4 @@ #define NAME_MAX 255 #define PATH_MAX 512 #define _POSIX2_RE_DUP_MAX 255 +#define INTR_MAX 64 |