mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +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:
parent
374f4aeab9
commit
d1fae8b09c
|
@ -179,7 +179,7 @@ enum class NeedsBigProcessLock {
|
|||
S(sigpending, NeedsBigProcessLock::Yes) \
|
||||
S(sigprocmask, NeedsBigProcessLock::Yes) \
|
||||
S(sigreturn, NeedsBigProcessLock::No) \
|
||||
S(sigsuspend, NeedsBigProcessLock::Yes) \
|
||||
S(sigsuspend, NeedsBigProcessLock::No) \
|
||||
S(sigtimedwait, NeedsBigProcessLock::Yes) \
|
||||
S(socket, NeedsBigProcessLock::No) \
|
||||
S(socketpair, NeedsBigProcessLock::No) \
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue