mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Use Userspace<T> for the getgroups syscall
This commit is contained in:
parent
80011cd62d
commit
e7728ca8fd
Notes:
sideshowbarker
2024-07-19 04:06:18 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/e7728ca8fdc Pull-request: https://github.com/SerenityOS/serenity/pull/3062 Reviewed-by: https://github.com/awesomekling
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ public:
|
|||
int sys$sigaction(int signum, const sigaction* act, sigaction* old_act);
|
||||
int sys$sigprocmask(int how, const sigset_t* set, sigset_t* old_set);
|
||||
int sys$sigpending(sigset_t*);
|
||||
int sys$getgroups(ssize_t, gid_t*);
|
||||
int sys$getgroups(ssize_t, Userspace<gid_t*>);
|
||||
int sys$setgroups(ssize_t, Userspace<const gid_t*>);
|
||||
int sys$pipe(int pipefd[2], int flags);
|
||||
int sys$killpg(pid_t pgrp, int sig);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue