diff options
-rw-r--r-- | Kernel/Process.h | 2 | ||||
-rw-r--r-- | Kernel/Syscalls/getuid.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 30d26037d9..e37dac611d 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -216,7 +216,7 @@ public: gid_t sys$getegid(); pid_t sys$getpid(); pid_t sys$getppid(); - int sys$getresuid(uid_t*, uid_t*, uid_t*); + int sys$getresuid(Userspace<uid_t*>, Userspace<uid_t*>, Userspace<uid_t*>); int sys$getresgid(gid_t*, gid_t*, gid_t*); mode_t sys$umask(mode_t); int sys$open(Userspace<const Syscall::SC_open_params*>); diff --git a/Kernel/Syscalls/getuid.cpp b/Kernel/Syscalls/getuid.cpp index 59e96c48bc..8e1f10bd06 100644 --- a/Kernel/Syscalls/getuid.cpp +++ b/Kernel/Syscalls/getuid.cpp @@ -52,7 +52,7 @@ gid_t Process::sys$getegid() return m_egid; } -int Process::sys$getresuid(uid_t* ruid, uid_t* euid, uid_t* suid) +int Process::sys$getresuid(Userspace<uid_t*> ruid, Userspace<uid_t*> euid, Userspace<uid_t*> suid) { REQUIRE_PROMISE(stdio); if (!validate_write_typed(ruid) || !validate_write_typed(euid) || !validate_write_typed(suid)) |