summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-08 16:32:29 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-09 16:43:00 +0100
commitaa381c4a677ba2504ad06587b9978bc03d1ffead (patch)
tree12ec16e68a84dd40ed5938cf248504a4b524ddb3 /Kernel/API/Syscall.h
parentd074aae422cf39974d0658ced35443bb1e520bb9 (diff)
downloadserenity-aa381c4a677ba2504ad06587b9978bc03d1ffead.zip
Kernel: Mark sys$fchmod() as not needing the big lock
This syscall doesn't access any data that was implicitly protected by the big lock.
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 7bba964468..27492b2f48 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -68,7 +68,7 @@ enum class NeedsBigProcessLock {
S(exit, NeedsBigProcessLock::Yes) \
S(exit_thread, NeedsBigProcessLock::Yes) \
S(fchdir, NeedsBigProcessLock::No) \
- S(fchmod, NeedsBigProcessLock::Yes) \
+ S(fchmod, NeedsBigProcessLock::No) \
S(fchown, NeedsBigProcessLock::Yes) \
S(fcntl, NeedsBigProcessLock::Yes) \
S(fork, NeedsBigProcessLock::Yes) \