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

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

Access to the process's process group is already serialized by
SpinlockProtected.
This commit is contained in:
Andreas Kling 2023-04-03 13:34:00 +02:00
parent 2ddd69260c
commit 1382439267
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ ErrorOr<FlatPtr> Process::sys$getpgid(pid_t pid)
ErrorOr<FlatPtr> Process::sys$getpgrp()
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::stdio));
return pgid().value();
}