Kernel: Use Userspace<T> for the bind syscall, and implementation

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:13:43 -07:00 committed by Andreas Kling
commit 02660b5d60
Notes: sideshowbarker 2024-07-19 04:05:11 +09:00
7 changed files with 7 additions and 7 deletions

View file

@ -98,7 +98,7 @@ public:
KResult shutdown(int how);
virtual KResult bind(const sockaddr*, socklen_t) = 0;
virtual KResult bind(Userspace<const sockaddr*>, socklen_t) = 0;
virtual KResult connect(FileDescription&, const sockaddr*, socklen_t, ShouldBlock) = 0;
virtual KResult listen(size_t) = 0;
virtual void get_local_address(sockaddr*, socklen_t*) = 0;