1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

Kernel: Remove big lock from sys$accept4

The only thing we needed to check is whether `socket.accept()` returns
a socket, and if not, we go back to blocking again.
This commit is contained in:
Jelle Raaijmakers 2022-04-09 17:28:31 +02:00 committed by Andreas Kling
parent 14fc05e912
commit cc411b328c
2 changed files with 12 additions and 13 deletions

View file

@ -40,7 +40,7 @@ enum class NeedsBigProcessLock {
// - VERIFY_NO_PROCESS_BIG_LOCK(this)
//
#define ENUMERATE_SYSCALLS(S) \
S(accept4, NeedsBigProcessLock::Yes) \
S(accept4, NeedsBigProcessLock::No) \
S(access, NeedsBigProcessLock::Yes) \
S(adjtime, NeedsBigProcessLock::No) \
S(alarm, NeedsBigProcessLock::Yes) \