Kernel: Use Userspace<T> for the realpath syscall

This commit is contained in:
Brian Gianforcaro 2020-08-07 02:37:39 -07:00 committed by Andreas Kling
parent 30b2c0dc85
commit 35c745ca54
Notes: sideshowbarker 2024-07-19 04:09:41 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -319,7 +319,7 @@ public:
int sys$halt();
int sys$reboot();
int sys$set_process_icon(int icon_id);
int sys$realpath(const Syscall::SC_realpath_params*);
int sys$realpath(Userspace<const Syscall::SC_realpath_params*>);
ssize_t sys$getrandom(void*, size_t, unsigned int);
int sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*>);
int sys$module_load(const char* path, size_t path_length);

View file

@ -31,7 +31,7 @@
namespace Kernel {
int Process::sys$realpath(const Syscall::SC_realpath_params* user_params)
int Process::sys$realpath(Userspace<const Syscall::SC_realpath_params*> user_params)
{
REQUIRE_PROMISE(rpath);