diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-31 15:59:58 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-31 16:02:21 -0400 |
commit | 862607845cd43ca11e19f2364f2f967836712098 (patch) | |
tree | 6631cfbecacf55c560b34cae9618fd1cbb689a09 /sys/include | |
parent | 88dbb581d441ad63edaea9ff7866109feac4d69e (diff) |
kernel: Add SYS_connect syscall
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/socket.h | 1 | ||||
-rw-r--r-- | sys/include/sys/syscall.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 */ |