1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

Kernel: Use Userspace<T> for the accept syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:23:13 -07:00 committed by Andreas Kling
parent 02660b5d60
commit 8bd9dbc220
2 changed files with 4 additions and 3 deletions

View file

@ -293,7 +293,7 @@ public:
int sys$socket(int domain, int type, int protocol);
int sys$bind(int sockfd, Userspace<const sockaddr*> addr, socklen_t);
int sys$listen(int sockfd, int backlog);
int sys$accept(int sockfd, sockaddr*, socklen_t*);
int sys$accept(int sockfd, Userspace<sockaddr*>, Userspace<socklen_t*>);
int sys$connect(int sockfd, const sockaddr*, socklen_t);
int sys$shutdown(int sockfd, int how);
ssize_t sys$sendto(const Syscall::SC_sendto_params*);