1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:07:36 +00:00

Kernel: Use Userspace<T> for the getsockname syscall

This commit is contained in:
Brian Gianforcaro 2020-08-07 00:03:37 -07:00 committed by Andreas Kling
parent dc75ea9fc2
commit 8fa46bcb7d
3 changed files with 4 additions and 4 deletions

View file

@ -297,7 +297,7 @@ public:
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$getsockname(const Syscall::SC_getsockname_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*>);
int sys$sched_getparam(pid_t pid, Userspace<struct sched_param*>);