From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29696 invoked by alias); 1 May 2013 22:21:34 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 29674 invoked by uid 89); 1 May 2013 22:21:34 -0000 X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from mail-yh0-f44.google.com (HELO mail-yh0-f44.google.com) (209.85.213.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 01 May 2013 22:21:33 +0000 Received: by mail-yh0-f44.google.com with SMTP id b12so384351yha.17 for ; Wed, 01 May 2013 15:21:32 -0700 (PDT) X-Received: by 10.236.74.201 with SMTP id x49mr3219119yhd.80.1367446892235; Wed, 01 May 2013 15:21:32 -0700 (PDT) Received: from dhcp-191-132.bos.redhat.com ([66.187.233.206]) by mx.google.com with ESMTPSA id i67sm8336477yhq.25.2013.05.01.15.21.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 15:21:31 -0700 (PDT) Message-ID: <5181956B.1080009@gmail.com> Date: Wed, 01 May 2013 22:21:00 -0000 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Carlos O'Donell CC: KOSAKI Motohiro , libc-alpha , "libc-ports@sourceware.org" Subject: Re: [PATCH v4 0/5] fix wrong program abort on __FD_ELT References: <1365900451-19026-1-git-send-email-kosaki.motohiro@gmail.com> <51808721.5090507@redhat.com> <518128DE.1070908@redhat.com> In-Reply-To: <518128DE.1070908@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-05/txt/msg00022.txt.bz2 >> @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.