summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-09 12:17:12 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-10 12:52:15 +0200
commit80011cd62d48a54c470943e640e8bd47649aeb41 (patch)
tree16f84d62c3f5cfd2a041e8d2e8dd873a25fbf14a /Kernel/Syscalls
parent0f42463eabe7afd81f0f9a1fcb2a61afffb8faf8 (diff)
downloadserenity-80011cd62d48a54c470943e640e8bd47649aeb41.zip
Kernel: Use Userspace<T> for the setgroups syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/setuid.cpp2
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)