aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2012-08-18split assume pipe2/dup3/sock_cloexec knobsMike Frysinger
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>
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath
2012-08-15Declare __getdirentries in internal dirent.h.Roland McGrath
2012-08-13Add explicit acquire/release semantics to atomic_exchange_and_add.Maxim Kuvyrkov
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek
2012-07-31Clean up stub accept4 definition.Roland McGrath
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath
2012-07-25Rename __secure_getenv to secure_getenvFlorian Weimer
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek
2012-06-30Release 2.16glibc-2.16.0Carlos O'Donell
Update version.h and include/features.h for 2.16 release.
2012-06-22Fix invalid memory access in do_lookup_x.Andreas Schwab
[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.
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab
2012-05-31Remove use of INTUSE/INTDEF in misc.Marek Polacek
2012-05-31Remove use of INTDEF/INTUSE in socketAndreas Schwab
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu
2012-05-25Add --enable-systemtap configuration to define static probe points.Roland McGrath
2012-05-24Remove use of INTDEF/INTUSE in intlAndreas Schwab
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab
2012-05-24Switch gettimeofday from INTUSE to libc_hidden_proto.Roland McGrath
2012-05-21Fix sunrpc static libraryAndreas Jaeger
* include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des.
2012-05-16Update __STDC_ISO_10646__.Joseph Myers
2012-05-10Hurd: hidden_nolink macro for NO_HIDDEN case.Thomas Schwinge
2012-05-10Hurd: dup3Thomas Schwinge
2012-05-10Hurd: accept4Thomas Schwinge
2012-05-10Make sunrpc code usable againAndreas Jaeger
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.
2012-05-10Define __STDC_NO_THREADS__.Joseph Myers
2012-05-08Warn if user requests __FORTIFY_SOURCE but it is disabledRoland Mc Grath
[BZ #13979] * include/features.h: Warn if user requests __FORTIFY_SOURCE checking but the checks are disabled for any reason.
2012-04-29Fix attributes for fortify functions.Marek Polacek
2012-04-17Resolve __vector namespace conflict with Altivec.Petr Baudis
2012-03-22Replace Elf64_XXX with ElfW(XXX) in dl-irel.hH.J. Lu
2012-03-09Move math/math_private.h to sysdeps/generic/math_private.h.Richard Henderson
This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
2012-03-09Fix sparc build after recent math changes.David S. Miller
* include/math_private.h: New file.
2012-03-03Remove oldish __GNUC_PREREQ.Marek Polacek
2012-02-28Include <dirstream.h> before <dirent/dirent.h>Andreas Schwab
2012-02-26Add first fixes for conformtest for POSIX2008Ulrich Drepper
2012-02-25First steps to get conformtest fully workingUlrich Drepper
2012-02-22Move __STDC_* predefined macros from features.h to stdc-predef.h.Joseph Myers
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-28Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait().Chris Metcalf
2012-01-24Fix gets problemsUlrich Drepper
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08Add checking versions of poll and ppollUlrich Drepper
2012-01-08More fallout from supporting only ELFUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper
2012-01-01Missed half the support for __USE_ISOC11Ulrich Drepper
2012-01-01Add __USE_ISOCXX11Ulrich Drepper
2012-01-01Support C11 __STDC_SOURCE__ and _ISOC11_SOURCEUlrich Drepper
2011-12-23Preliminaries for 2.15 releaseglibc-2.15Ulrich Drepper
2011-11-11Fix __readlink declaration.Roland McGrath