Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add attribute_hidden to __have_{sock_cloexec,pipe2,dup3 | Mike Frysinger | 2012-08-18 | 2 | -4/+4 | |
| | | | | | | | These internal knobs are not exposed as part of the public ABI, so mark them hidden to avoid generating relocations against them. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||||
* | split assume pipe2/dup3/sock_cloexec knobs | Mike Frysinger | 2012-08-18 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't assume sock_cloexec and pipe2 are bound together as the former defines are found in glibc only while the latter are a combo of kernel headers and glibc. So if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub inside of glibc, we hit a problem. For example: main() { getgrnam("portage"); if (!popen("ls", "r")) perror("popen()"); } getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both __have_sock_cloexec and __have_pipe2 to true. But if glibc was built against older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS stub for it. So popen() will always fail as glibc assumes pipe2() works. While this isn't too much of an issue for some arches as they added the functionality to the kernel at the same time, not all arches are that lucky. Since the code already has dedicated names for each feature, delete the defines wiring these three features together and make each one a proper dedicated knob. We've been carrying this in Gentoo since glibc-2.9. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||||
* | Split sys/param.h out into common file and sysdeps bits/param.h file. | Roland McGrath | 2012-08-17 | 1 | -0/+1 | |
| | ||||||
* | Declare __getdirentries in internal dirent.h. | Roland McGrath | 2012-08-15 | 1 | -0/+4 | |
| | ||||||
* | Add explicit acquire/release semantics to atomic_exchange_and_add. | Maxim Kuvyrkov | 2012-08-13 | 1 | -2/+16 | |
| | ||||||
* | Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}. | Marek Polacek | 2012-08-02 | 1 | -33/+20 | |
| | ||||||
* | Clean up stub accept4 definition. | Roland McGrath | 2012-07-31 | 1 | -2/+2 | |
| | ||||||
* | Fix lots of bitrot for stub configurations. | Roland McGrath | 2012-07-30 | 1 | -1/+1 | |
| | ||||||
* | Rename __secure_getenv to secure_getenv | Florian Weimer | 2012-07-25 | 1 | -1/+2 | |
| | ||||||
* | Get rid of ASM_GLOBAL_DIRECTIVE. | Marek Polacek | 2012-07-10 | 1 | -15/+11 | |
| | ||||||
* | Release 2.16 glibc-2.16.0 | Carlos O'Donell | 2012-06-30 | 1 | -1/+1 | |
| | | | | Update version.h and include/features.h for 2.16 release. | |||||
* | Fix invalid memory access in do_lookup_x. | Andreas Schwab | 2012-06-22 | 1 | -4/+4 | |
| | | | | | | | | [BZ #13579] Do not free l_initfini and allow it to be reused on subsequent dl_open calls for the same library. This fixes the invalid memory access in do_lookup_x when the previously free'd l_initfini was accessed through l_searchlist when a library had been opened for the second time. | |||||
* | Remove use of INTDEF/INTUSE in stdio-common | Andreas Schwab | 2012-06-01 | 1 | -0/+1 | |
| | ||||||
* | Remove use of INTUSE/INTDEF in misc. | Marek Polacek | 2012-05-31 | 1 | -12/+3 | |
| | ||||||
* | Remove use of INTDEF/INTUSE in socket | Andreas Schwab | 2012-05-31 | 1 | -13/+3 | |
| | ||||||
* | Convert WORDSIZE[32|64]/ld entries to abi-variants | H.J. Lu | 2012-05-30 | 1 | -12/+0 | |
| | ||||||
* | Add --enable-systemtap configuration to define static probe points. | Roland McGrath | 2012-05-25 | 1 | -0/+80 | |
| | ||||||
* | Remove use of INTDEF/INTUSE in intl | Andreas Schwab | 2012-05-24 | 2 | -15/+2 | |
| | ||||||
* | Remove use of INTDEF/INTUSE in libio | Andreas Schwab | 2012-05-24 | 3 | -7/+9 | |
| | ||||||
* | Switch gettimeofday from INTUSE to libc_hidden_proto. | Roland McGrath | 2012-05-24 | 1 | -7/+2 | |
| | ||||||
* | Fix sunrpc static library | Andreas Jaeger | 2012-05-21 | 1 | -0/+10 | |
| | | | | | | * include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des. | |||||
* | Update __STDC_ISO_10646__. | Joseph Myers | 2012-05-16 | 1 | -2/+3 | |
| | ||||||
* | Hurd: hidden_nolink macro for NO_HIDDEN case. | Thomas Schwinge | 2012-05-10 | 1 | -2/+2 | |
| | ||||||
* | Hurd: dup3 | Thomas Schwinge | 2012-05-10 | 1 | -1/+2 | |
| | ||||||
* | Hurd: accept4 | Thomas Schwinge | 2012-05-10 | 1 | -0/+3 | |
| | ||||||
* | Make sunrpc code usable again | Andreas Jaeger | 2012-05-10 | 1 | -1/+6 | |
| | | | | | | | | New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications. | |||||
* | Define __STDC_NO_THREADS__. | Joseph Myers | 2012-05-10 | 1 | -0/+3 | |
| | ||||||
* | Warn if user requests __FORTIFY_SOURCE but it is disabled | Roland Mc Grath | 2012-05-08 | 1 | -4/+8 | |
| | | | | | | [BZ #13979] * include/features.h: Warn if user requests __FORTIFY_SOURCE checking but the checks are disabled for any reason. | |||||
* | Fix attributes for fortify functions. | Marek Polacek | 2012-04-29 | 1 | -1/+1 | |
| | ||||||
* | Resolve __vector namespace conflict with Altivec. | Petr Baudis | 2012-04-17 | 1 | -4/+4 | |
| | ||||||
* | Replace Elf64_XXX with ElfW(XXX) in dl-irel.h | H.J. Lu | 2012-03-22 | 1 | -0/+5 | |
| | ||||||
* | Move math/math_private.h to sysdeps/generic/math_private.h. | Richard Henderson | 2012-03-09 | 1 | -1/+0 | |
| | | | | This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83. | |||||
* | Fix sparc build after recent math changes. | David S. Miller | 2012-03-09 | 1 | -0/+1 | |
| | | | | * include/math_private.h: New file. | |||||
* | Remove oldish __GNUC_PREREQ. | Marek Polacek | 2012-03-03 | 1 | -5/+1 | |
| | ||||||
* | Include <dirstream.h> before <dirent/dirent.h> | Andreas Schwab | 2012-02-28 | 1 | -1/+3 | |
| | ||||||
* | Add first fixes for conformtest for POSIX2008 | Ulrich Drepper | 2012-02-26 | 5 | -0/+10 | |
| | ||||||
* | First steps to get conformtest fully working | Ulrich Drepper | 2012-02-25 | 48 | -23/+115 | |
| | ||||||
* | Move __STDC_* predefined macros from features.h to stdc-predef.h. | Joseph Myers | 2012-02-22 | 2 | -8/+40 | |
| | ||||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 13 | -39/+26 | |
| | ||||||
* | Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait(). | Chris Metcalf | 2012-01-28 | 1 | -0/+6 | |
| | ||||||
* | Fix gets problems | Ulrich Drepper | 2012-01-24 | 1 | -0/+22 | |
| | ||||||
* | Optimize xmalloc, xcalloc, xrealloc, and xstrdup | Ulrich Drepper | 2012-01-08 | 1 | -0/+7 | |
| | | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. | |||||
* | Add checking versions of poll and ppoll | Ulrich Drepper | 2012-01-08 | 2 | -0/+2 | |
| | ||||||
* | More fallout from supporting only ELF | Ulrich Drepper | 2012-01-08 | 1 | -49/+25 | |
| | ||||||
* | Remove pre-ISO C support | Ulrich Drepper | 2012-01-07 | 36 | -267/+264 | |
| | | | | No more __const. | |||||
* | Remove non-ELF support | Ulrich Drepper | 2012-01-07 | 2 | -83/+38 | |
| | ||||||
* | Missed half the support for __USE_ISOC11 | Ulrich Drepper | 2012-01-01 | 1 | -0/+2 | |
| | ||||||
* | Add __USE_ISOCXX11 | Ulrich Drepper | 2012-01-01 | 1 | -0/+10 | |
| | ||||||
* | Support C11 __STDC_SOURCE__ and _ISOC11_SOURCE | Ulrich Drepper | 2012-01-01 | 1 | -6/+12 | |
| | ||||||
* | Preliminaries for 2.15 release glibc-2.15 | Ulrich Drepper | 2011-12-23 | 1 | -1/+1 | |
| |