1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

Kernel: Mark sys$sigsuspend as not needing the big lock

This syscall is only concerned with the current thread.
This commit is contained in:
Andreas Kling 2023-04-03 16:19:12 +02:00
parent 374f4aeab9
commit d1fae8b09c
2 changed files with 2 additions and 2 deletions

View file

@ -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));