diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-05 10:34:08 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-05 10:34:08 +0100 |
commit | 251293f2e1178370d85c1dd4f3808ed9681fdb3c (patch) | |
tree | 6f5b3fcb24c210f5007832aa3445331b461ef830 /Kernel/Syscall.cpp | |
parent | b67d0a363239c3ecf72f7514da74f0536595430b (diff) | |
download | serenity-251293f2e1178370d85c1dd4f3808ed9681fdb3c.zip |
Kernel: Block a signal from being dispatched again until handler returns.
We don't handle nesting yet, but this is a step in the right direction.
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r-- | Kernel/Syscall.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp index 2c339ea176..945be0e679 100644 --- a/Kernel/Syscall.cpp +++ b/Kernel/Syscall.cpp @@ -221,6 +221,8 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2, return current->sys$release_shared_buffer((int)arg1); case Syscall::SC_chown: return current->sys$chown((const char*)arg1, (uid_t)arg2, (gid_t)arg3); + case Syscall::SC_restore_signal_mask: + return current->sys$restore_signal_mask((dword)arg1); default: kprintf("<%u> int0x80: Unknown function %u requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3); break; |