[Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong

ppluzhnikov at google dot com sourceware-bugzilla@sourceware.org
Sat Sep 2 22:53:00 GMT 2017


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.


More information about the Glibc-bugs mailing list