summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-09 23:01:05 +0300
committerAndreas Kling <kling@serenityos.org>2022-04-09 23:46:02 +0200
commitc2372242b17531224b024916072098a92878d411 (patch)
tree5c582ebaf33c8d7214f37a3d7cc6c1bd5ea8bff6 /Kernel/API/Syscall.h
parent849c227f720a21513574d9775f39154ae5b5f5a7 (diff)
downloadserenity-c2372242b17531224b024916072098a92878d411.zip
Kernel: Remove big lock from sys$getsockopt
This syscall doesn't access any unprotected shared 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 7613ef0821..ac18931dbd 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -99,7 +99,7 @@ enum class NeedsBigProcessLock {
S(getrusage, NeedsBigProcessLock::Yes) \
S(getsid, NeedsBigProcessLock::Yes) \
S(getsockname, NeedsBigProcessLock::Yes) \
- S(getsockopt, NeedsBigProcessLock::Yes) \
+ S(getsockopt, NeedsBigProcessLock::No) \
S(gettid, NeedsBigProcessLock::No) \
S(getuid, NeedsBigProcessLock::Yes) \
S(inode_watcher_add_watch, NeedsBigProcessLock::Yes) \