diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-07 21:36:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-08 00:19:49 +0100 |
commit | ef45ff47032af1d4cc4c84f63c88155b5d5fe18b (patch) | |
tree | ef1bc7b5d8e70a3a8cfd46d73d68c893cc993eeb /Kernel/API | |
parent | 2688ee28ff3d24d9cc3f753432f504dc9b602077 (diff) | |
download | serenity-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.h | 2 |
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) \ |