Kernel: Use Userspace<T> for the setsockopt syscall

This commit is contained in:
Brian Gianforcaro 2020-08-07 00:18:20 -07:00 committed by Andreas Kling
commit 6920d5f423
Notes: sideshowbarker 2024-07-19 04:09:49 +09:00
7 changed files with 12 additions and 11 deletions

View file

@ -296,7 +296,7 @@ public:
ssize_t sys$sendto(const Syscall::SC_sendto_params*);
ssize_t sys$recvfrom(const Syscall::SC_recvfrom_params*);
int sys$getsockopt(const Syscall::SC_getsockopt_params*);
int sys$setsockopt(const Syscall::SC_setsockopt_params*);
int sys$setsockopt(Userspace<const Syscall::SC_setsockopt_params*>);
int sys$getsockname(Userspace<const Syscall::SC_getsockname_params*>);
int sys$getpeername(Userspace<const Syscall::SC_getpeername_params*>);
int sys$sched_setparam(pid_t pid, Userspace<const struct sched_param*>);