From 89956cb0d66f24bfcee312dcd35f78b5dbc9e1b9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 16 May 2021 19:56:11 +0200 Subject: Kernel+Userspace: Implement the accept4() system call Unlike accept() the new accept4() system call lets the caller specify flags for the newly accepted socket file descriptor, such as SOCK_CLOEXEC and SOCK_NONBLOCK. --- Userland/DevTools/UserspaceEmulator/Emulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/DevTools/UserspaceEmulator/Emulator.h') diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.h b/Userland/DevTools/UserspaceEmulator/Emulator.h index 3533180ae8..70badf8a78 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator.h +++ b/Userland/DevTools/UserspaceEmulator/Emulator.h @@ -137,7 +137,7 @@ private: int virt$getpeername(FlatPtr); int virt$select(FlatPtr); int virt$get_stack_bounds(FlatPtr, FlatPtr); - int virt$accept(int sockfd, FlatPtr address, FlatPtr address_length); + int virt$accept4(FlatPtr); int virt$bind(int sockfd, FlatPtr address, socklen_t address_length); int virt$recvmsg(int sockfd, FlatPtr msg_addr, int flags); int virt$sendmsg(int sockfd, FlatPtr msg_addr, int flags); -- cgit v1.2.3