- (dtucker) [configure.ac] It turns out gcc's -fstack-protector-all doesn't
always work for all platforms and versions, so test what we can and
add a configure flag to turn it of if needed. ok djm@
+ - (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.
20080307
- (djm) OpenBSD CVS Sync
*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 */
# define HAVE_GETGROUPLIST
# define USE_GETGRSET
int getgrouplist(const char *, gid_t, gid_t *, int *);
-int ssh_initgroups(const char *, gid_t);
-# define initgroups(a, b) ssh_initgroups((a), (b))
#endif
#endif /* _AIX */