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

Kernel: Use Userspace<T> for the uname syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 13:02:27 -07:00 committed by Andreas Kling
parent cfedd62b5c
commit 8dd78201a4
2 changed files with 13 additions and 7 deletions

View file

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