[sudo-commits] sudo changeset 11416:55480e2ec7c2

Todd C. Miller Todd.Miller at sudo.ws
Fri Jun 15 14:10:46 MDT 2018


changeset:	11416:55480e2ec7c2 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/55480e2ec7c2
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Jun 15 14:05:13 2018 -0600

Log Message:
	Add sudo_getgrouplist2() to dynamically allocate the group vector.
	This allows us to avoid repeatedly calling getgrouplist() with
	a statically sized vector on macOS, Solaris, HP-UX, and AIX.

diffstat:

 configure               |    6 -
 configure.ac            |    1 -
 include/sudo_compat.h   |    5 +-
 include/sudo_util.h     |    4 +
 lib/util/Makefile.in    |    8 +-
 lib/util/getgrouplist.c |  261 ++++++++++++++++++++++++++++++++++++++++++-----
 lib/util/util.exp.in    |    1 +
 7 files changed, 240 insertions(+), 46 deletions(-)


More information about the sudo-commits mailing list