summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-07 21:36:41 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-08 00:19:49 +0100
commitef45ff47032af1d4cc4c84f63c88155b5d5fe18b (patch)
treeef1bc7b5d8e70a3a8cfd46d73d68c893cc993eeb /Kernel/API
parent2688ee28ff3d24d9cc3f753432f504dc9b602077 (diff)
downloadserenity-ef45ff47032af1d4cc4c84f63c88155b5d5fe18b.zip
Kernel: Mark sys$readlink() 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')
-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 1877c870e5..2fb5c580cc 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -142,7 +142,7 @@ enum class NeedsBigProcessLock {
S(purge, NeedsBigProcessLock::Yes) \
S(read, NeedsBigProcessLock::Yes) \
S(pread, NeedsBigProcessLock::Yes) \
- S(readlink, NeedsBigProcessLock::Yes) \
+ S(readlink, NeedsBigProcessLock::No) \
S(readv, NeedsBigProcessLock::Yes) \
S(realpath, NeedsBigProcessLock::No) \
S(recvfd, NeedsBigProcessLock::Yes) \