mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-17 05:06:13 +09:00
Author: https://github.com/awesomekling
Commit: 350e5f9261
Pull-request: https://github.com/SerenityOS/serenity/pull/18188
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