mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
Kernel: Remove ancient InterruptDisabler in sys$setsid
This was some pre-SMP historical artifact.
This commit is contained in:
parent
ca1f8cac66
commit
350e5f9261
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/InterruptDisabler.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
|
||||
|
@ -29,7 +28,6 @@ ErrorOr<FlatPtr> Process::sys$setsid()
|
|||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
|
||||
TRY(require_promise(Pledge::proc));
|
||||
InterruptDisabler disabler;
|
||||
bool found_process_with_same_pgid_as_my_pid = false;
|
||||
TRY(Process::for_each_in_pgrp_in_same_jail(pid().value(), [&](auto&) -> ErrorOr<void> {
|
||||
found_process_with_same_pgid_as_my_pid = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue