From 862607845cd43ca11e19f2364f2f967836712098 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 31 Jul 2025 15:59:58 -0400 Subject: kernel: Add SYS_connect syscall Signed-off-by: Ian Moffett --- sys/include/sys/socket.h | 1 + sys/include/sys/syscall.h | 1 + 2 files changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/socket.h b/sys/include/sys/socket.h index a921fa8..c82ae4e 100644 --- a/sys/include/sys/socket.h +++ b/sys/include/sys/socket.h @@ -163,6 +163,7 @@ struct ksocket { scret_t sys_socket(struct syscall_args *scargs); scret_t sys_bind(struct syscall_args *scargs); +scret_t sys_connect(struct syscall_args *scargs); scret_t sys_recv(struct syscall_args *scargs); scret_t sys_send(struct syscall_args *scargs); diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h index d79a697..9798d80 100644 --- a/sys/include/sys/syscall.h +++ b/sys/include/sys/syscall.h @@ -65,6 +65,7 @@ #define SYS_send 24 #define SYS_sendmsg 25 #define SYS_recvmsg 26 +#define SYS_connect 27 #if defined(_KERNEL) /* Syscall return value and arg type */ -- cgit v1.2.3