summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-aix.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-03-09 16:36:55 +1100
committerDarren Tucker <dtucker@zip.com.au>2008-03-09 16:36:55 +1100
commit16ba6a8ea25ee45feec55ce5a29a4723c2665ea2 (patch)
treee1236b06ced64159bba370f3831eb52643cd1ea3 /openbsd-compat/port-aix.c
parentb7918afddf36c22b8eb87d98819d2cf9ddb6b424 (diff)
- (dtucker) [openbsd-compat/port-aix.{c,h}] Remove AIX specific initgroups
implementation. It's not needed to fix bug #1081 and breaks the build on some AIX configurations.
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r--openbsd-compat/port-aix.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index b19d2296..5b1cb738 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -435,17 +435,6 @@ out:
*grpcnt = ngroups;
return ret;
}
-
-int
-ssh_initgroups(const char *user, gid_t group)
-{
- gid_t grps[NGROUPS_MAX];
- int grpcnt = NGROUPS_MAX;
-
- if (getgrouplist(user, group, grps, &grpcnt) == -1)
- return -1;
- return setgroups(grpcnt, grps);
-}
# endif /* USE_GETGRSET */
#endif /* _AIX */