mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +00:00
Kernel: Use Userspace<T> for the realpath syscall
This commit is contained in:
parent
30b2c0dc85
commit
35c745ca54
2 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ public:
|
||||||
int sys$halt();
|
int sys$halt();
|
||||||
int sys$reboot();
|
int sys$reboot();
|
||||||
int sys$set_process_icon(int icon_id);
|
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);
|
ssize_t sys$getrandom(void*, size_t, unsigned int);
|
||||||
int sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*>);
|
int sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*>);
|
||||||
int sys$module_load(const char* path, size_t path_length);
|
int sys$module_load(const char* path, size_t path_length);
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
namespace Kernel {
|
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);
|
REQUIRE_PROMISE(rpath);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue