]> granicus.if.org Git - sudo/commit
Add sudo_getgrouplist2() to dynamically allocate the group vector.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 15 Jun 2018 20:05:13 +0000 (14:05 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 15 Jun 2018 20:05:13 +0000 (14:05 -0600)
commit0ae966283374e5324b13aae7bc52f2c4c7488c47
tree3283c2b4f351f003c29779de3b423c80cc673f83
parent1385613797aab90d61d3b6406404d0bab74203d7
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.
configure
configure.ac
include/sudo_compat.h
include/sudo_util.h
lib/util/Makefile.in
lib/util/getgrouplist.c
lib/util/util.exp.in