mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
Kernel: Mark sys$listen() as not needing the big lock
This syscall already performs the necessary locking and so doesn't need to rely on the process big lock.
This commit is contained in:
parent
e103c5fe2d
commit
36d829b97c
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ ErrorOr<FlatPtr> Process::sys$bind(int sockfd, Userspace<sockaddr const*> addres
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$listen(int sockfd, int backlog)
|
||||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
|
||||
VERIFY_NO_PROCESS_BIG_LOCK(this)
|
||||
if (backlog < 0)
|
||||
return EINVAL;
|
||||
auto description = TRY(open_file_description(sockfd));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue