From 350e5f9261e2183901dd27d1ddc172741f843c12 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 4 Apr 2023 07:22:36 +0200 Subject: [PATCH] Kernel: Remove ancient InterruptDisabler in sys$setsid This was some pre-SMP historical artifact. --- Kernel/Syscalls/setpgid.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Kernel/Syscalls/setpgid.cpp b/Kernel/Syscalls/setpgid.cpp index 8812f86c92..11333df583 100644 --- a/Kernel/Syscalls/setpgid.cpp +++ b/Kernel/Syscalls/setpgid.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include @@ -29,7 +28,6 @@ ErrorOr 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 { found_process_with_same_pgid_as_my_pid = true;