summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/src/libsystem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index aed3b8cf..c593dbf4 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -128,6 +128,12 @@ getgroups (int size, gid_t list[])
}
int
+__getgroups_chk (int size, gid_t list[], size_t listlen)
+{
+ return getgroups (size, list);
+}
+
+int
setgroups (size_t size, const gid_t *list)
{
g_autoptr(GString) group_list = g_string_new ("");