summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/socket.cpp
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-09 23:01:59 +0300
committerAndreas Kling <kling@serenityos.org>2022-04-09 23:46:02 +0200
commit5a96260e250d466257d59067f653fec393d3eec5 (patch)
treed3546731f27ffa5b53d359123c668b4a0b98b365 /Kernel/Syscalls/socket.cpp
parentc2372242b17531224b024916072098a92878d411 (diff)
downloadserenity-5a96260e250d466257d59067f653fec393d3eec5.zip
Kernel: Remove big lock from sys$setsockopt
This syscall doesn't access any unprotected shared data.
Diffstat (limited to 'Kernel/Syscalls/socket.cpp')
-rw-r--r--Kernel/Syscalls/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/socket.cpp b/Kernel/Syscalls/socket.cpp
index 8c76e5164a..4e2247673e 100644
--- a/Kernel/Syscalls/socket.cpp
+++ b/Kernel/Syscalls/socket.cpp
@@ -347,7 +347,7 @@ ErrorOr<FlatPtr> Process::sys$getsockopt(Userspace<Syscall::SC_getsockopt_params
ErrorOr<FlatPtr> Process::sys$setsockopt(Userspace<Syscall::SC_setsockopt_params const*> user_params)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
+ VERIFY_NO_PROCESS_BIG_LOCK(this)
auto params = TRY(copy_typed_from_user(user_params));
Userspace<void const*> user_value((FlatPtr)params.value);