mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Kernel: Use Userspace<T> for the readlink syscall
This commit is contained in:
parent
901dae0227
commit
7449921f53
2 changed files with 2 additions and 2 deletions
|
@ -245,7 +245,7 @@ public:
|
|||
int sys$gethostname(char*, ssize_t);
|
||||
int sys$sethostname(const char*, ssize_t);
|
||||
int sys$uname(utsname*);
|
||||
int sys$readlink(const Syscall::SC_readlink_params*);
|
||||
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);
|
||||
pid_t sys$fork(RegisterState&);
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$readlink(const Syscall::SC_readlink_params* user_params)
|
||||
int Process::sys$readlink(Userspace<const Syscall::SC_readlink_params*> user_params)
|
||||
{
|
||||
REQUIRE_PROMISE(rpath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue