summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-03 16:37:34 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-04 10:33:42 +0200
commitd8bb32117e9688cb54e6ba9f5a3703a900ccfe4b (patch)
treec5f810b7e41f55b041ca8ff8554558fe2ef1b264 /Kernel/API/Syscall.h
parent6c02c493f104e866b8790df978a11972966a8d0a (diff)
downloadserenity-d8bb32117e9688cb54e6ba9f5a3703a900ccfe4b.zip
Kernel: Mark sys$umask as not needing the big lock
The body of this syscall is already serialized by calling with_mutable_protected_data().
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 20887f17c0..307915b575 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -189,7 +189,7 @@ enum class NeedsBigProcessLock {
S(sync, NeedsBigProcessLock::No) \
S(sysconf, NeedsBigProcessLock::No) \
S(times, NeedsBigProcessLock::Yes) \
- S(umask, NeedsBigProcessLock::Yes) \
+ S(umask, NeedsBigProcessLock::No) \
S(umount, NeedsBigProcessLock::Yes) \
S(uname, NeedsBigProcessLock::No) \
S(unlink, NeedsBigProcessLock::No) \