mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Kernel: Use Userspace<T> for the getresuid syscall
This commit is contained in:
parent
7943655838
commit
3ca18a88d7
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue