diff options
author | Andreas Kling <kling@serenityos.org> | 2023-04-03 16:19:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-04 10:33:42 +0200 |
commit | d1fae8b09c837573e739c93ef2f2e6e805e138fd (patch) | |
tree | 18bf24a08a236f83ebee4ada684d6e744835f884 /Kernel/Syscalls | |
parent | 374f4aeab9600de3e41aa7957da420e24bf92b6d (diff) | |
download | serenity-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.cpp | 2 |
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)); |