Re: [PATCH] fix util_lookup_group to handle large groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 1, 2009 at 01:26, Eric W. Biederman<ebiederm@xxxxxxxxxxxx> wrote:

>> sysconf(_S_GETGR_R_SIZE_MAX) returns either -1 or a good
>> suggested starting value for buflen.  It does not return the
>> worst case possible for buflen.
>
> In my case I have a group with about 50 users in /etc/group
> and that is what triggered the problem in udev and caused
> all of the udevs group lookups to fail.
>
> The following patch which dynamically allocates the group member buffer
> should fix this problem.

Applied.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux