Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r | Jeff Law | 2012-08-22 | 1 | -2/+7 |
| | | | | if the family is PF_UNSPEC. | ||||
* | Move some things from sysdeps/unix to sysdeps/posix. | Roland McGrath | 2012-08-17 | 6 | -0/+252 |
| | |||||
* | Fix typo in last change. | Roland McGrath | 2012-08-17 | 1 | -1/+1 |
| | |||||
* | Fix getaddrinfo for [!_STATBUF_ST_NSEC] case. | Roland McGrath | 2012-08-17 | 1 | -2/+35 |
| | |||||
* | Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT]. | Roland McGrath | 2012-08-15 | 1 | -3/+3 |
| | |||||
* | Add a missing #include. | Roland McGrath | 2012-08-08 | 1 | -1/+2 |
| | |||||
* | Move common dirent implementation from sysdeps/unix to sysdeps/posix. | Roland McGrath | 2012-08-07 | 10 | -0/+774 |
| | |||||
* | Fix lots of bitrot for stub configurations. | Roland McGrath | 2012-07-30 | 3 | -3/+5 |
| | |||||
* | Rename __secure_getenv to secure_getenv | Florian Weimer | 2012-07-25 | 3 | -10/+12 |
| | |||||
* | Avoid duplicate DNS requests if answer is longer than a implementation | Jeroen van Bemmel | 2012-07-12 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | limit [BZ #14307] * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of the temporary buffer used to invoke __gethostbyname2_r, __gethostbyaddr_r and gethostbyname4_r to make room for struct host_data / struct gaih_addrtuple. * resolv/nss_dns/dns-host.c (global scope): Move definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to header file nss/nsswitch.h. * nss/nsswitch.h (global scope): Add definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from resolv/nss_dns/dns-host.c). | ||||
* | Switch gettimeofday from INTUSE to libc_hidden_proto. | Roland McGrath | 2012-05-24 | 1 | -5/+3 |
| | |||||
* | Hurd: libc_once_get | Thomas Schwinge | 2012-05-10 | 1 | -1/+1 |
| | |||||
* | Hurd: #include <kernel-features.h> | Thomas Schwinge | 2012-05-10 | 1 | -1/+2 |
| | |||||
* | Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/. | Joseph Myers | 2012-04-23 | 1 | -0/+48 |
| | |||||
* | Add missing headers | Andreas Schwab | 2012-02-27 | 1 | -1/+2 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 61 | -183/+122 |
| | |||||
* | Remove miscellaneous __STDC__ conditionals. | Joseph Myers | 2012-01-30 | 1 | -5/+1 |
| | |||||
* | Clean up internal fopen uses | Ulrich Drepper | 2011-11-15 | 1 | -1/+1 |
| | | | | No need to ever not use c and e. | ||||
* | Cache network interface information | Ulrich Drepper | 2011-10-31 | 1 | -5/+5 |
| | | | | | | | | | | | | Whenever getaddrinfo needed network interface information it used the netlink interface to read the information every single time. The problem is that this information can change at any time. The patch implements monitoring of the network interfaces through nscd. If no change is detected the previously read information can be reused (which is the norm). This timestamp information is also made available to other processes using the shared memory segment between nscd and those processes. | ||||
* | Clean up disabling of script_execute | Roland McGrath | 2011-09-19 | 1 | -9/+11 |
| | |||||
* | Try shell in posix_spawn* only in compat mode | Ulrich Drepper | 2011-09-05 | 1 | -4/+10 |
| | |||||
* | Fix encoding name for IDN in getaddrinfo | Andreas Schwab | 2011-08-04 | 1 | -1/+4 |
| | |||||
* | Make sure RES_USE_INET6 is always restored | Andreas Schwab | 2011-06-30 | 1 | -0/+4 |
| | |||||
* | Avoid __check_pf calls in getaddrinfo unless really needed | Ulrich Drepper | 2011-06-22 | 1 | -5/+12 |
| | |||||
* | Fix Ipv4&IPv6 lookup in getaddrinfo | Andreas Schwab | 2011-06-22 | 1 | -1/+1 |
| | | | | Problem introduced in the last patch. | ||||
* | Fix IPv6-only lookups through getaddrinfo | Ulrich Drepper | 2011-06-21 | 1 | -3/+31 |
| | | | | | A recent patch introduced a problem where IPv6 lookups happily returned IPv4 addresses. | ||||
* | Minor optimization of getaddrinfo after recent patch | Ulrich Drepper | 2011-06-21 | 1 | -14/+4 |
| | |||||
* | Fix memory leak in getaddrinfo | Ulrich Drepper | 2011-06-13 | 1 | -1/+1 |
| | |||||
* | Restore _res correctly | Ulrich Drepper | 2011-05-29 | 1 | -2/+2 |
| | | | | | | getaddrinfo works around the resolver functionality to avoid automatic IPv6 lookups. The restoring didn't allow for the resolver to set additional bits in _res. | ||||
* | Don't unconditionally use alloca in gaih_inet | Ulrich Drepper | 2011-05-20 | 1 | -91/+342 |
| | |||||
* | Use mmap for allocation of buffers used for __abort_msg | Ulrich Drepper | 2011-05-15 | 1 | -12/+23 |
| | |||||
* | Fix sched_setscheduler call in spawn implementation | Ulrich Drepper | 2011-05-11 | 1 | -3/+1 |
| | |||||
* | Make complete getcwd work in rtld | Ulrich Drepper | 2011-05-08 | 1 | -21/+22 |
| | |||||
* | Fix Linux getcwd for long paths | Ulrich Drepper | 2011-05-08 | 1 | -122/+234 |
| | | | | | | | | | | The getcwd syscall (so far?) can only handle path up to one page in size. There is no limit about directory hierarchy depth, though, and the POSIX getcwd is supposed to handle this. In that case fall back to the generic getcwd. Additionally, optimize the generic getcwd to use openat when possible to change the asymptotic performance from O(N^2) to O(n). | ||||
* | getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules | Maciej Babinski | 2011-05-02 | 1 | -45/+28 |
| | |||||
* | Fix decoding of canonical name in getaddrinfo. | Ulrich Drepper | 2011-01-19 | 1 | -0/+1 |
| | |||||
* | Relax requirement on close in child created by posix_spawn. | Ulrich Drepper | 2011-01-13 | 1 | -3/+17 |
| | |||||
* | Add self-contained test for NSS. | Ulrich Drepper | 2010-08-11 | 1 | -1/+2 |
| | | | | | While at it fix interaction between __nss_configure_lookup and nscd. Otherwise the test fails if nscd is runnung. | ||||
* | Handle POSIX-compliant errno value of unlink in remove. | Ulrich Drepper | 2010-04-04 | 1 | -2/+8 |
| | |||||
* | Fix one case of last checkin. | Ulrich Drepper | 2010-03-26 | 1 | -0/+1 |
| | | | | If the v4 lookup failed but v6 succeeded we treat this as a success. | ||||
* | Don't abort immediately on successful lookup in getaddrinfo. | Ulrich Drepper | 2010-03-26 | 1 | -10/+10 |
| | | | | | | | When not using gethostbyname4 methods we immediately aborted the loop over the nss modules on the first successful lookup. While this is almost always what is wanted the nsswitch.conf file allows to select something different. | ||||
* | Fix spurious UNAVAIL status is getaddrinfo | Andreas Schwab | 2010-03-26 | 1 | -0/+1 |
| | |||||
* | Fix typo in cuserid | Andreas Schwab | 2010-03-25 | 1 | -1/+1 |
| | |||||
* | calls to cuserid() can result in buffer overruns and/or overflows | Jonathan Geisler | 2010-03-24 | 1 | -2/+3 |
| | |||||
* | Fix a few error cases in *name4_r lookup handling. | Ulrich Drepper | 2009-12-10 | 1 | -7/+2 |
| | |||||
* | Implement mkstemps and mkstemps64. | Ulrich Drepper | 2009-10-30 | 1 | -7/+7 |
| | |||||
* | Handle missing NSS modules and those without callbacks. | Ulrich Drepper | 2009-07-25 | 1 | -0/+2 |
| | | | | | getaddrinfo didn't update the status variable in that round of the loop if no callback was used. | ||||
* | Preserve message printed before abort. | Ulrich Drepper | 2009-06-15 | 1 | -1/+16 |
| | | | | | | | The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217 | ||||
* | * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. | Ulrich Drepper | 2009-04-23 | 2 | -24/+12 |
| | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com> | ||||
* | * sysdeps/posix/preadv.c: Reading of zero bytes is no error. | Ulrich Drepper | 2009-04-17 | 2 | -2/+2 |
| | | | | | * sysdeps/posix/readv.c: Likewise. Reported by Markus Armbruster <armbru@redhat.com>. |