odd issue when running dbus-launch [patch to fix]

Vulpes Velox v.velox at vvelox.net
Mon Jan 1 16:14:45 PST 2007

On Mon, 1 Jan 2007 21:10:43 -0200
Thiago Macieira <thiago at kde.org> wrote:

> Vulpes Velox wrote:
> >As to the question of glibc, I am not seeing where this actually
> >uses glibc.
> getgrouplist is a glibc function.

Standard libc function actually.

> >I am curious, what function is failing? I see getgrouplist is
> >working entirely properly.
> No, it isn't.
>    If *ngroups is smaller than the total number of groups found,
> then get‐ grouplist() returns a value of ‘-1'.  In all cases the
> actual number of groups is stored in *ngroups.
> Your getgrouplist isn't storing the actual number of groups in
> *ngroups. Your tests proved that.
> >I am not seeing any attempts in dbus-sysdeps-unix.c to properly set
> >buf_count. It is set at 17 and never changed after that. The
> >problem with this is it limits some one to only 16 groups.
> Exactly. getgrouplist is supposed to set it.

Hmm, just reread part of that. I will check a bit more in that

More information about the dbus mailing list