mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Kernel: Mark sys$setsid as not needing the big lock
This function is now serialized by access to the process group list, and to the current process's protected data.
This commit is contained in:
parent
3e30d9bc99
commit
f764b8b113
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ ErrorOr<FlatPtr> Process::sys$getsid(pid_t pid)
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$setsid()
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this);
|
||||
TRY(require_promise(Pledge::proc));
|
||||
|
||||
// NOTE: ProcessGroup::create_if_unused_pgid() will fail with EPERM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue