diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-16 20:43:23 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-16 20:43:23 +0200 |
commit | ce6e93d96b09997b536c0358e32e9a2920f36693 (patch) | |
tree | 4891228496354b69aa548c0ebf42c0c8a845e054 /Kernel/API | |
parent | 164c9617c360cd2766754dff5a4299c47be6e5cc (diff) | |
download | serenity-ce6e93d96b09997b536c0358e32e9a2920f36693.zip |
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.
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index b15a4d5f4c..af75a4e8c1 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -175,7 +175,7 @@ enum class NeedsBigProcessLock { S(sigsuspend, NeedsBigProcessLock::Yes) \ S(sigtimedwait, NeedsBigProcessLock::Yes) \ S(socket, NeedsBigProcessLock::Yes) \ - S(socketpair, NeedsBigProcessLock::Yes) \ + S(socketpair, NeedsBigProcessLock::No) \ S(stat, NeedsBigProcessLock::No) \ S(statvfs, NeedsBigProcessLock::No) \ S(symlink, NeedsBigProcessLock::No) \ |