On 02/19/2010 06:05 PM, Jeff Layton wrote: > The current mount, umount and showmount code uses > authunix_create_default to get an auth handle. The one provided by glibc > returned a truncated list of groups when there were more than 16 groups. > libtirpc however currently does an abort() in this case, which causes > the program to crash and dump core. > > nfs-utils just uses these auth handles for the MNT protocol, so the > group list doesn't make a lot of difference here. Add a new function > that creates an auth handle with a supplemental gids list that consists > only of the primary gid. Have nfs-utils use that function anywhere that > it currently uses authunix_create_default. Also, have the caller > properly check for a NULL return from that function. > > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> > --- > support/include/nfsrpc.h | 3 +++ > support/nfs/rpc_socket.c | 21 +++++++++++++++++++++ > utils/mount/network.c | 15 ++++++++++++--- > utils/showmount/showmount.c | 8 +++++++- > 4 files changed, 43 insertions(+), 4 deletions(-) > > Committed... steved. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html