summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-07-18 11:33:13 -0700
committerGunnar Beutner <gunnar@beutner.name>2021-07-20 03:21:14 +0200
commit638598b15d53a877031da33e4fe23c2a038f719a (patch)
treeaf9f11200f23a8bd9015079d7885dd29ae694fa7 /Kernel/API/Syscall.h
parentbfd4635274d59a297ad823b9e188548d05d477ec (diff)
downloadserenity-638598b15d53a877031da33e4fe23c2a038f719a.zip
Kernel: Disable big process lock for sys$getpid()
Diffstat (limited to 'Kernel/API/Syscall.h')
-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 7d8bec6939..d9b292dde3 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -54,7 +54,7 @@ enum class NeedsBigProcessLock {
S(geteuid, NeedsBigProcessLock::Yes) \
S(getegid, NeedsBigProcessLock::Yes) \
S(getgid, NeedsBigProcessLock::Yes) \
- S(getpid, NeedsBigProcessLock::Yes) \
+ S(getpid, NeedsBigProcessLock::No) \
S(getppid, NeedsBigProcessLock::Yes) \
S(getresuid, NeedsBigProcessLock::Yes) \
S(getresgid, NeedsBigProcessLock::Yes) \