mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
Kernel: Use Userspace<T> for the getresgid syscall
This commit is contained in:
parent
3ca18a88d7
commit
48d9f3c2e6
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ int Process::sys$getresuid(Userspace<uid_t*> ruid, Userspace<uid_t*> euid, Users
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid)
|
||||
int Process::sys$getresgid(Userspace<gid_t*> rgid, Userspace<gid_t*> egid, Userspace<gid_t*> sgid)
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
if (!validate_write_typed(rgid) || !validate_write_typed(egid) || !validate_write_typed(sgid))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue