diff --git a/Kernel/Process.h b/Kernel/Process.h index 1583133f37c..23f2c24b5a4 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -261,7 +261,7 @@ public: int sys$dup(int oldfd); int sys$dup2(int oldfd, int newfd); int sys$sigaction(int signum, const sigaction* act, sigaction* old_act); - int sys$sigprocmask(int how, const sigset_t* set, sigset_t* old_set); + int sys$sigprocmask(int how, Userspace set, Userspace old_set); int sys$sigpending(sigset_t*); int sys$getgroups(ssize_t, Userspace); int sys$setgroups(ssize_t, Userspace); diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp index c0d2b697c27..26a28c83eea 100644 --- a/Kernel/Syscalls/sigaction.cpp +++ b/Kernel/Syscalls/sigaction.cpp @@ -28,7 +28,7 @@ namespace Kernel { -int Process::sys$sigprocmask(int how, const sigset_t* set, sigset_t* old_set) +int Process::sys$sigprocmask(int how, Userspace set, Userspace old_set) { REQUIRE_PROMISE(sigaction); auto current_thread = Thread::current();