mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +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
Notes:
sideshowbarker
2024-07-16 21:56:13 +09:00
Author: https://github.com/awesomekling
Commit: f764b8b113
Pull-request: https://github.com/SerenityOS/serenity/pull/18188
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