mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:17:44 +00:00
Kernel: Use Userspace<T> for the setsockopt syscall
This commit is contained in:
parent
9f685ac30a
commit
6920d5f423
7 changed files with 12 additions and 11 deletions
|
@ -110,7 +110,7 @@ public:
|
|||
virtual KResultOr<size_t> sendto(FileDescription&, const void*, size_t, int flags, const sockaddr*, socklen_t) = 0;
|
||||
virtual KResultOr<size_t> recvfrom(FileDescription&, void*, size_t, int flags, sockaddr*, socklen_t*) = 0;
|
||||
|
||||
virtual KResult setsockopt(int level, int option, const void*, socklen_t);
|
||||
virtual KResult setsockopt(int level, int option, Userspace<const void*>, socklen_t);
|
||||
virtual KResult getsockopt(FileDescription&, int level, int option, void*, socklen_t*);
|
||||
|
||||
pid_t origin_pid() const { return m_origin.pid; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue