This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 02 Sep 2017 22:53:51 +0000
- Subject: [Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong
- Auto-submitted: auto-generated
- References: <bug-22020-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22020
--- Comment #3 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
This seems to be much bigger problem than just _SC_ATEXIT_MAX:
1. we #define all kinds of other limits: _SC_ARG_MAX, _SC_THREADS, etc.
2. for all of them, we return -1 from getconf (good) while setting errno to
ENOSYS (bad).
2. we have no tests for any of this.
--
You are receiving this mail because:
You are on the CC list for the bug.