mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Use Userspace<T> for the readlink syscall
This commit is contained in:
parent
901dae0227
commit
7449921f53
Notes:
sideshowbarker
2024-07-19 04:17:59 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/7449921f530 Pull-request: https://github.com/SerenityOS/serenity/pull/2996
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…
Reference in a new issue