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

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

Another one that only messes with the current thread.
This commit is contained in:
Andreas Kling 2023-04-03 16:24:01 +02:00
parent d1fae8b09c
commit e9fe0ecbae
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ namespace Kernel {
ErrorOr<FlatPtr> Process::sys$sigprocmask(int how, Userspace<sigset_t const*> set, Userspace<sigset_t*> old_set)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::sigaction));
auto* current_thread = Thread::current();
u32 previous_signal_mask;