diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-09 15:25:53 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-10 12:52:15 +0200 |
commit | 0e20a6df0a5d15e1fdf5d4c2e7e8df86a6aabe65 (patch) | |
tree | dee2dd285b0d1161301a7cc5dfe93641aa41b813 /Kernel/Process.h | |
parent | 8bd9dbc220963f0cde6ec055ba833d498c234dda (diff) | |
download | serenity-0e20a6df0a5d15e1fdf5d4c2e7e8df86a6aabe65.zip |
Kernel: Use Userspace<T> for the connect syscall
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 1720b2b48b..079a2a1717 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -294,7 +294,7 @@ public: int sys$bind(int sockfd, Userspace<const sockaddr*> addr, socklen_t); int sys$listen(int sockfd, int backlog); int sys$accept(int sockfd, Userspace<sockaddr*>, Userspace<socklen_t*>); - int sys$connect(int sockfd, const sockaddr*, socklen_t); + int sys$connect(int sockfd, Userspace<const sockaddr*>, socklen_t); int sys$shutdown(int sockfd, int how); ssize_t sys$sendto(const Syscall::SC_sendto_params*); ssize_t sys$recvfrom(const Syscall::SC_recvfrom_params*); |