glibc/hesiod/nss_hesiod
Siddhesh Poyarekar 7a86be6e5f Don't add input group during initgroups_dyn in hesiod
Fixes BZ #15304.

The *initgroups_dyn functions are called with a group argument.  This
group gid is usually skipped while populating the grouplist since the
caller adds that group id in advance.

The hesiod initgroups_dyn implementation however adds the group gid to
the list if it does not already exist.  While it works fine for the
usual initgroups, it breaks nscd since it calls initgroups_dyn with -1
as the gid (to have all groups included).
2013-03-28 11:45:47 +05:30
..
hesiod-grp.c Don't add input group during initgroups_dyn in hesiod 2013-03-28 11:45:47 +05:30
hesiod-init.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hesiod-proto.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hesiod-pwd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hesiod-service.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nss_hesiod.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00