[PATCH v4 0/5] fix wrong program abort on __FD_ELT
KOSAKI Motohiro
kosaki.motohiro@gmail.com
Wed May 1 22:21:00 GMT 2013
>> @comment sys/types.h
>> @comment BSD
>> @deftypevr Macro int FD_SETSIZE
>> The value of this macro is the maximum number of file descriptors that a
>> @code{fd_set} object can hold information about. On systems with a
>> fixed maximum number, @code{FD_SETSIZE} is at least that number. On
>> some systems, including GNU, there is no absolute limit on the number of
>> descriptors open, but this macro still has a constant value which
>> controls the number of bits in an @code{fd_set}; if you get a file
>> descriptor with a value as high as @code{FD_SETSIZE}, you cannot put
>> that descriptor into an @code{fd_set}.
>> @end deftypevr
>>
>
> This should be expanded to say that at least on Linux you can allocate
> space from the heap and describe which macros are safe to use in that
> case (and what you need to do to avoid asserts from _FORTIFY_SOURCE).
Hmm...
ok, I try to wording.
More information about the Libc-alpha
mailing list