mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 09:20:36 +00:00
Kernel: Use Userspace<T> for the realpath syscall
This commit is contained in:
parent
30b2c0dc85
commit
35c745ca54
Notes:
sideshowbarker
2024-07-19 04:09:41 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/35c745ca543 Pull-request: https://github.com/SerenityOS/serenity/pull/3039
2 changed files with 2 additions and 2 deletions
|
@ -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