Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Return EAI_SYSTEM if we're out of file descriptors | Siddhesh Poyarekar | 2012-11-19 | 1 | -0/+6 |
| | | | | Resolves BZ #14719. | ||||
* | Generate /usr/libexec/getconf files when cross-compiling. | Joseph Myers | 2012-11-17 | 1 | -72/+23 |
| | |||||
* | Suppress incorrect link warnings for NSS symbols | Chris Metcalf | 2012-10-30 | 1 | -1/+1 |
| | | | | | | | | | When glibc is built with --enable-static-nss, the warning that using NSS symbols requires the nss shared objects to be present is no longer true, as those symbols are built into libc. Suppress the warning for those symbols by providing a new macro (nss_interface_function) for the NSS functions that is defined as static_link_warning in the normal case, and empty for static NSS. | ||||
* | BZ#14743: Move clock_* symbols from librt to libc. | Roland McGrath | 2012-10-24 | 1 | -1/+2 |
| | |||||
* | __alloc_dir: avoid integer overflow in malloc argument | Florian Weimer | 2012-10-16 | 1 | -4/+11 |
| | |||||
* | sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE | Pino Toscano | 2012-10-03 | 1 | -0/+1 |
| | |||||
* | Implement POSIX-generic sleep via nanosleep rather than SIGARLM. | Roland McGrath | 2012-09-28 | 1 | -65/+35 |
| | |||||
* | [BZ #11438] | Jeff Law | 2012-09-28 | 1 | -4/+0 |
| | | | | | | | | | * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 * addresses to global scope. * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16 addresses are in the same scope as 192.0.2/24. * posix/gai.conf: Document new scope table defaults. | ||||
* | * 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 |
| |