summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorSamuel Bowman <sam@sambowman.tech>2022-08-16 22:52:58 -0400
committerAndreas Kling <kling@serenityos.org>2022-08-18 00:04:31 +0200
commitb5a2f59320713c8868ae2946d667cc280bf74174 (patch)
tree2ff6015e706fb3b66c23fb2d619eec3cf303669f /Kernel/API
parent146903a3b5d4b156facc61ed5f8fe453c2874ff1 (diff)
downloadserenity-b5a2f59320713c8868ae2946d667cc280bf74174.zip
Kernel: Make sys$unveil() not take the big process lock
The unveil syscall uses the UnveilData struct which is already SpinlockProtected, so there is no need to take the big 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 af75a4e8c1..389f91d3e4 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -186,7 +186,7 @@ enum class NeedsBigProcessLock {
S(umount, NeedsBigProcessLock::Yes) \
S(uname, NeedsBigProcessLock::No) \
S(unlink, NeedsBigProcessLock::No) \
- S(unveil, NeedsBigProcessLock::Yes) \
+ S(unveil, NeedsBigProcessLock::No) \
S(utime, NeedsBigProcessLock::Yes) \
S(utimensat, NeedsBigProcessLock::Yes) \
S(waitid, NeedsBigProcessLock::Yes) \