mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-16 21:04:20 +00:00
Kernel: Use Userspace<T> for the realpath syscall
This commit is contained in:
parent
30b2c0dc85
commit
35c745ca54
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue