1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00

Kernel: Use Userspace<T> for the setgroups syscall

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

View file

@ -118,7 +118,7 @@ int Process::sys$setresgid(gid_t rgid, gid_t egid, gid_t sgid)
return 0;
}
int Process::sys$setgroups(ssize_t count, const gid_t* user_gids)
int Process::sys$setgroups(ssize_t count, Userspace<const gid_t*> user_gids)
{
REQUIRE_PROMISE(id);
if (count < 0)