summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-21 13:29:36 +0200
committerAndreas Kling <kling@serenityos.org>2022-08-21 13:29:36 +0200
commit18abba2c4d57485072254fb02e039f36aedeef47 (patch)
tree06a496562cfcd046b254c8d791d135540a6eb889 /Kernel/API
parent8ed06ad814734430193f3673b5e00861eda9aa47 (diff)
downloadserenity-18abba2c4d57485072254fb02e039f36aedeef47.zip
Kernel: Make sys$getppid() not take the big lock
This only needs to access the process PPID, which is protected by the "protected data" lock.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index cf53d789f9..dd88bddd83 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -92,7 +92,7 @@ enum class NeedsBigProcessLock {
S(getpgid, NeedsBigProcessLock::Yes) \
S(getpgrp, NeedsBigProcessLock::Yes) \
S(getpid, NeedsBigProcessLock::No) \
- S(getppid, NeedsBigProcessLock::Yes) \
+ S(getppid, NeedsBigProcessLock::No) \
S(getrandom, NeedsBigProcessLock::No) \
S(getresgid, NeedsBigProcessLock::No) \
S(getresuid, NeedsBigProcessLock::No) \