summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-03 16:26:11 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-04 10:33:42 +0200
commitf0b5c585f27c269b12bde5553d71ba773797be04 (patch)
tree0e5e8259f6da3a33523e220cd107e46a8f55cde8 /Kernel/Syscalls
parente9fe0ecbae839989cf73171ca35d4070ac3fb8af (diff)
downloadserenity-f0b5c585f27c269b12bde5553d71ba773797be04.zip
Kernel: Mark sys$sigpending as not needing the big lock
Another one that only touches 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 4fa99237f7..5cf1296721 100644
--- a/Kernel/Syscalls/sigaction.cpp
+++ b/Kernel/Syscalls/sigaction.cpp
@@ -43,7 +43,7 @@ ErrorOr<FlatPtr> Process::sys$sigprocmask(int how, Userspace<sigset_t const*> se
ErrorOr<FlatPtr> Process::sys$sigpending(Userspace<sigset_t*> set)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
+ VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::stdio));
auto pending_signals = Thread::current()->pending_signals();
TRY(copy_to_user(set, &pending_signals));