]> git.ipfire.org Git - thirdparty/shadow.git/commit
configure.ac, lib/, src/: Use gid_t instead of GETGROUPS_T
authorAlejandro Colomar <alx@kernel.org>
Sat, 16 Nov 2024 12:08:12 +0000 (13:08 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 24 Jan 2025 13:58:13 +0000 (07:58 -0600)
commite083b380188ca361d4d965db36744e2328071c4e
tree4033ed9a2b1571434f8c5ef7f254f717736532bd
parenta4a0dbb5d856b9694fceb928b31e29760e587315
configure.ac, lib/, src/: Use gid_t instead of GETGROUPS_T

Autoconf's NEWS file says

*** AC_FUNC_GETGROUPS and AC_TYPE_GETGROUPS no longer run test programs.
  These macros were testing for OS bugs that we believe are at least
  twenty years in the past.  Most operating systems are now trusted to
  provide an accurate prototype for getgroups in unistd.h, and to
  implement it as specified in POSIX.

Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
configure.ac
lib/addgrps.c
src/newgrp.c