1
Fork 0
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:
Brian Gianforcaro 2020-08-09 12:37:47 -07:00 committed by Andreas Kling
parent 3ca18a88d7
commit 48d9f3c2e6
2 changed files with 2 additions and 2 deletions

View file

@ -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))