summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-28 22:27:32 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-28 22:27:32 +0100
commit464a16afa2adb557ee127b3e7f2bf11c5617a712 (patch)
tree56680938e2962e5fdc9e357bfb864d509f01ec0c /Kernel/Process.cpp
parentd90104f9e00906ee4144e43d33cfb6ad3a9cc38d (diff)
downloadserenity-464a16afa2adb557ee127b3e7f2bf11c5617a712.zip
Implement signal() via sigaction() and get rid of sys$signal().
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 50686b0ab7..94879feb83 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -1660,15 +1660,6 @@ int Process::sys$dup2(int old_fd, int new_fd)
return new_fd;
}
-Unix::sighandler_t Process::sys$signal(int signum, Unix::sighandler_t handler)
-{
- // FIXME: Fail with -EINVAL if attepmting to catch or ignore SIGKILL or SIGSTOP.
- if (signum < 1 || signum >= 32)
- return (Unix::sighandler_t)-EINVAL;
- dbgprintf("sys$signal: %d => L%x\n", signum, handler);
- return nullptr;
-}
-
int Process::sys$sigprocmask(int how, const Unix::sigset_t* set, Unix::sigset_t* old_set)
{
if (old_set) {