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/libc/syscall.c | |
parent | 16138fc20fc9c472af37fb8385a997a0d9202f32 (diff) |
kernel/intr: accept a message, allow killing processes via intrs
Diffstat (limited to 'src/libc/syscall.c')
-rw-r--r-- | src/libc/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libc/syscall.c b/src/libc/syscall.c index 4cdbe6c..782b2fe 100644 --- a/src/libc/syscall.c +++ b/src/libc/syscall.c @@ -70,8 +70,8 @@ void _sys_filicide(void) { return (void)_syscall(_SYS_FILICIDE, 0, 0, 0, 0, 0); } -void _sys_intr(void) { - return (void)_syscall(_SYS_INTR, 0, 0, 0, 0, 0); +int _sys_intr(const char __user *msg, size_t len) { + return (int)_syscall(_SYS_INTR, (long)msg, (long)len, 0, 0, 0); } void _sys_intr_set(void __user *ip) { |