summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-09 23:05:32 +0300
committerAndreas Kling <kling@serenityos.org>2022-04-09 23:46:02 +0200
commit1474b18070b92bafec3cb1dd8ffef9f26aa17ca1 (patch)
treeaac87eaca7a51dcf156086001c83cf1c343dd23c /Kernel/API
parentfa360f7d88b25f8ba83a726ac4e435a905fd4f78 (diff)
downloadserenity-1474b18070b92bafec3cb1dd8ffef9f26aa17ca1.zip
Kernel: Remove big lock from sys$link
This syscall doesn't access any unprotected shared data.
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 b6150dea75..14093bfd4a 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -109,7 +109,7 @@ enum class NeedsBigProcessLock {
S(kill, NeedsBigProcessLock::Yes) \
S(kill_thread, NeedsBigProcessLock::Yes) \
S(killpg, NeedsBigProcessLock::Yes) \
- S(link, NeedsBigProcessLock::Yes) \
+ S(link, NeedsBigProcessLock::No) \
S(listen, NeedsBigProcessLock::No) \
S(lseek, NeedsBigProcessLock::No) \
S(madvise, NeedsBigProcessLock::Yes) \