Kernel: Mark sys$kill_thread as not needing the big process lock

This syscall does not access any big process lock protected resources.
This commit is contained in:
Idan Horowitz
2023-12-16 13:19:49 +02:00
committed by Andreas Kling
parent b44628c1fb
commit d63667dbf1
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ ErrorOr<FlatPtr> Process::sys$join_thread(pid_t tid, Userspace<void**> exit_valu
ErrorOr<FlatPtr> Process::sys$kill_thread(pid_t tid, int signal)
{
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
VERIFY_NO_PROCESS_BIG_LOCK(this);
TRY(require_promise(Pledge::thread));
if (signal < 0 || signal >= NSIG)