1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Kernel: Use Userspace<T> for the connect syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:25:53 -07:00 committed by Andreas Kling
parent 8bd9dbc220
commit 0e20a6df0a
2 changed files with 2 additions and 2 deletions

View file

@ -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*);