This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Extend tst-{atexit,at_quick_exit,cxa_atexit,onexit} to verify inheritance across fork
- From: Florian Weimer <fweimer at redhat dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, Paul Pluzhnikov <ppluzhnikov at google dot com>, GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Mon, 28 Aug 2017 22:01:39 +0200
- Subject: Re: [PATCH] Extend tst-{atexit,at_quick_exit,cxa_atexit,onexit} to verify inheritance across fork
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6E94DC04B928
- References: <CALoOobNv3GUJEatKp-36VuepLbbpjqgmfKngkwY2hD_nPfhJ8w@mail.gmail.com> <4d3a2e98-c316-6c61-e115-7ab36d6bf424@redhat.com>
On 08/28/2017 09:47 PM, Carlos O'Donell wrote:
> Checking for ATEXIT_MAX shouldn't be too much harder... ;-)
POSIX does not allow us to define _SC_ATEXIT_MAX because there is no
actual limit (beyond available memory). The INT_MAX return value is a bug.
I filed a bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22020
Thanks,
Florian