since accept can simply forward to kernel accept4 function

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-01-13 11:23:42 +02:00
committed by Petro Karashchenko
parent 8a63d29c6e
commit 695f42f8d2
5 changed files with 52 additions and 25 deletions
-1
View File
@@ -347,7 +347,6 @@ SYSCALL_LOOKUP(munmap, 2)
/* The following are defined only if networking AND sockets are supported */
#ifdef CONFIG_NET
SYSCALL_LOOKUP(accept, 3)
SYSCALL_LOOKUP(accept4, 4)
SYSCALL_LOOKUP(bind, 3)
SYSCALL_LOOKUP(connect, 3)