Kernel: Use Userspace<T> for the sethostname syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 12:53:12 -07:00 committed by Andreas Kling
commit cfedd62b5c
Notes: sideshowbarker 2024-07-19 04:05:44 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ public:
int sys$clock_settime(clockid_t, Userspace<const timespec*>);
int sys$clock_nanosleep(Userspace<const Syscall::SC_clock_nanosleep_params*>);
int sys$gethostname(Userspace<char*>, ssize_t);
int sys$sethostname(const char*, ssize_t);
int sys$sethostname(Userspace<const char*>, ssize_t);
int sys$uname(utsname*);
int sys$readlink(Userspace<const Syscall::SC_readlink_params*>);
int sys$ttyname(int fd, Userspace<char*>, size_t);