summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-03 16:19:12 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-04 10:33:42 +0200
commitd1fae8b09c837573e739c93ef2f2e6e805e138fd (patch)
tree18bf24a08a236f83ebee4ada684d6e744835f884 /Kernel/Syscalls
parent374f4aeab9600de3e41aa7957da420e24bf92b6d (diff)
downloadserenity-d1fae8b09c837573e739c93ef2f2e6e805e138fd.zip
Kernel: Mark sys$sigsuspend as not needing the big lock
This syscall is only concerned with the current thread.
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/sigaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/sigaction.cpp b/Kernel/Syscalls/sigaction.cpp
index dfa3031d90..2665f93848 100644
--- a/Kernel/Syscalls/sigaction.cpp
+++ b/Kernel/Syscalls/sigaction.cpp
@@ -326,7 +326,7 @@ ErrorOr<FlatPtr> Process::sys$sigtimedwait(Userspace<sigset_t const*> set, Users
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigsuspend.html
ErrorOr<FlatPtr> Process::sys$sigsuspend(Userspace<sigset_t const*> mask)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
+ VERIFY_NO_PROCESS_BIG_LOCK(this);
auto sigmask = TRY(copy_typed_from_user(mask));