diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-09 12:17:12 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-10 12:52:15 +0200 |
commit | 80011cd62d48a54c470943e640e8bd47649aeb41 (patch) | |
tree | 16f84d62c3f5cfd2a041e8d2e8dd873a25fbf14a /Kernel/Syscalls | |
parent | 0f42463eabe7afd81f0f9a1fcb2a61afffb8faf8 (diff) | |
download | serenity-80011cd62d48a54c470943e640e8bd47649aeb41.zip |
Kernel: Use Userspace<T> for the setgroups syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/setuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/setuid.cpp b/Kernel/Syscalls/setuid.cpp index 39e508120f..3cedc049ec 100644 --- a/Kernel/Syscalls/setuid.cpp +++ b/Kernel/Syscalls/setuid.cpp @@ -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) |