1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-27 09:35:58 +02:00
Files
coreutils/src
Eric Blake 9b4b38f56e id: handle systems without getgroups support
If getgroups failed with ENOSYS, mgetgroups would unnecessarily
fail, and that provoked id into freeing an uninitialized pointer.
Meanwhile, we were not using xalloc_die properly.  Both issues
are better solved in gnulib, by introducing xgetgroups; this
patch uses the new interface.

Regression introduced by commit 6a31fd8d7.

* gnulib: Update, for mgetgroups improvments.
* src/id.c (print_full_info): Adjust caller to die on allocation
failure, and no longer worry about ENOSYS.
* src/group-list.c (print_group_list): Likewise.
* src/setuidgid.c (main): Likewise.
* NEWS: Mention the fix.
* THANKS: Update.
Reported by Scott Harrison.
2009-12-04 19:18:06 -07:00
..
2009-11-28 06:48:03 +01:00
2009-11-07 10:10:28 -07:00
2009-10-08 20:30:08 -06:00
2009-11-09 08:16:20 +00:00
2009-12-01 13:07:48 -07:00
2009-11-07 10:10:28 -07:00
2009-11-07 10:10:28 -07:00
2009-11-24 06:36:07 -07:00
2009-10-26 21:30:28 -06:00
2009-11-24 06:36:07 -07:00
2009-11-07 10:10:28 -07:00
2009-11-07 10:10:28 -07:00