summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorJames Bellamy <james.bellamy99@gmail.com>2022-08-21 15:59:31 +0100
committerAndreas Kling <kling@serenityos.org>2022-08-23 20:29:50 +0200
commit9c1ee8cbd1473cfa1ceb613e8f90e8509f6579a6 (patch)
tree9e9b46d76e4d4c197b8579592801d45e133f166d /Kernel/Syscalls
parent355911c44e6d4519037db5295d2c88eaf79c35e1 (diff)
downloadserenity-9c1ee8cbd1473cfa1ceb613e8f90e8509f6579a6.zip
Kernel: Remove big lock from sys$socket
With the implementation of the credentials object the socket syscall no longer needs the big lock.
Diffstat (limited to 'Kernel/Syscalls')
-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 dbff7d7f9e..65bdb4e759 100644
--- a/Kernel/Syscalls/socket.cpp
+++ b/Kernel/Syscalls/socket.cpp
@@ -33,7 +33,7 @@ static void setup_socket_fd(Process::OpenFileDescriptions& fds, int fd, NonnullL
ErrorOr<FlatPtr> Process::sys$socket(int domain, int type, int protocol)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this);
+ VERIFY_NO_PROCESS_BIG_LOCK(this);
REQUIRE_PROMISE_FOR_SOCKET_DOMAIN(domain);
auto credentials = this->credentials();