mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Kernel: Make sys$socketpair() not take the big lock
This system call mainly accesses the file descriptor table, and this is already guarded by MutexProtected.
This commit is contained in:
parent
164c9617c3
commit
ce6e93d96b
2 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ ErrorOr<FlatPtr> Process::sys$setsockopt(Userspace<Syscall::SC_setsockopt_params
|
|||
|
||||
ErrorOr<FlatPtr> Process::sys$socketpair(Userspace<Syscall::SC_socketpair_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));
|
||||
|
||||
if (params.domain != AF_LOCAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue