1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

Kernel: Use Userspace<T> for the getgroups syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 12:20:04 -07:00 committed by Andreas Kling
parent 80011cd62d
commit e7728ca8fd
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ int Process::sys$getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid)
return 0;
}
int Process::sys$getgroups(ssize_t count, gid_t* user_gids)
int Process::sys$getgroups(ssize_t count, Userspace<gid_t*> user_gids)
{
REQUIRE_PROMISE(stdio);
if (count < 0)