Re: [PATCH] build: tolerate unlimited group size

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

 



On 05/17/2011 12:13 AM, Daniel Veillard wrote:
> On Mon, May 16, 2011 at 03:42:36PM -0600, Eric Blake wrote:
>> POSIX allows sysconf(_SC_GETPW_R_SIZE_MAX) to return -1 if there
>> is no fixed limit, and requires ERANGE errors to track real size.
>> http://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwuid_r.html
>>
>> Also, on error for get*_r functions, errno is undefined, and the
>> real error was the return value.
>>
>> * src/util/util.c (virGetUserEnt, virGetUserID, virGetGroupID)
>> (virSetUIDGID):  Cope with sysconf failure or too small buffer.
>> Reported by Matthias Bolte.
>> ---
> 
>   ACK,

Thanks; pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]