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-06 16:54:12 +00:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 08:43:00 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 08:43:00 +01:00
2009-11-07 08:43:00 +01:00
2009-11-28 06:48:03 +01:00
2009-10-23 16:24:05 -06:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-10-10 15:16:52 -06:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 10:10:28 -07:00
2009-10-02 10:58:05 -06:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:28 -07:00
2009-10-28 17:01:29 +00:00
2009-10-27 19:55:37 -06:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-10-08 20:30:08 -06:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-10-23 06:29:54 -06:00
2009-09-21 12:37:57 +01:00
2009-11-09 08:16:20 +00:00
2009-12-01 13:07:48 -07:00
2009-10-21 16:56:00 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:25 -07:00
2009-09-21 12:37:57 +01:00
2009-10-28 21:12:41 -06:00
2009-09-21 12:37:57 +01:00
2009-10-28 21:12:41 -06:00
2009-11-06 16:54:12 +00:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-10-28 06:24:52 -06:00
2009-10-28 17:01:29 +00:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-11-05 08:32:31 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-10-29 07:31:23 -06:00
2009-09-21 12:37:57 +01:00
2009-12-04 19:18:06 -07:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-11-24 06:36:07 -07:00
2009-09-21 12:37:57 +01:00
2009-10-28 16:37:07 +00:00
2009-10-26 21:30:28 -06:00
2009-09-23 14:33:40 +01:00
2009-10-28 21:12:41 -06:00
2009-10-21 16:56:00 +01:00
2009-09-21 12:37:57 +01:00
2009-11-05 08:32:31 +01:00
2009-09-21 12:37:57 +01:00
2009-11-24 06:36:07 -07:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-10-25 23:28:38 +00:00
2009-10-23 06:29:54 -06:00
2009-09-21 12:37:57 +01:00
2009-11-16 09:30:50 +01:00
2009-09-21 12:37:57 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-11-07 10:10:28 -07:00
2009-09-21 12:37:57 +01:00
2009-09-22 12:21:00 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00