mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 20:27:35 +00:00
Kernel: Remove big lock from sys$socket
With the implementation of the credentials object the socket syscall no longer needs the big lock.
This commit is contained in:
parent
355911c44e
commit
9c1ee8cbd1
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue