about summary refs log tree commit diff
path: root/sysdeps/posix
Commit message (Collapse)AuthorAgeFilesLines
...
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-241-1/+2
|
* __alloc_dir: avoid integer overflow in malloc argumentFlorian Weimer2012-10-161-4/+11
|
* sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZEPino Toscano2012-10-031-0/+1
|
* Implement POSIX-generic sleep via nanosleep rather than SIGARLM.Roland McGrath2012-09-281-65/+35
|
* [BZ #11438]Jeff Law2012-09-281-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_rJeff Law2012-08-221-2/+7
| | | | if the family is PF_UNSPEC.
* Move some things from sysdeps/unix to sysdeps/posix.Roland McGrath2012-08-176-0/+252
|
* Fix typo in last change.Roland McGrath2012-08-171-1/+1
|
* Fix getaddrinfo for [!_STATBUF_ST_NSEC] case.Roland McGrath2012-08-171-2/+35
|
* Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT].Roland McGrath2012-08-151-3/+3
|
* Add a missing #include.Roland McGrath2012-08-081-1/+2
|
* Move common dirent implementation from sysdeps/unix to sysdeps/posix.Roland McGrath2012-08-0710-0/+774
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-303-3/+5
|
* Rename __secure_getenv to secure_getenvFlorian Weimer2012-07-253-10/+12
|
* Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel2012-07-121-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 McGrath2012-05-241-5/+3
|
* Hurd: libc_once_getThomas Schwinge2012-05-101-1/+1
|
* Hurd: #include <kernel-features.h>Thomas Schwinge2012-05-101-1/+2
|
* Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.Joseph Myers2012-04-231-0/+48
|
* Add missing headersAndreas Schwab2012-02-271-1/+2
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0961-183/+122
|
* Remove miscellaneous __STDC__ conditionals.Joseph Myers2012-01-301-5/+1
|
* Clean up internal fopen usesUlrich Drepper2011-11-151-1/+1
| | | | No need to ever not use c and e.
* Cache network interface informationUlrich Drepper2011-10-311-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_executeRoland McGrath2011-09-191-9/+11
|
* Try shell in posix_spawn* only in compat modeUlrich Drepper2011-09-051-4/+10
|
* Fix encoding name for IDN in getaddrinfoAndreas Schwab2011-08-041-1/+4
|
* Make sure RES_USE_INET6 is always restoredAndreas Schwab2011-06-301-0/+4
|
* Avoid __check_pf calls in getaddrinfo unless really neededUlrich Drepper2011-06-221-5/+12
|
* Fix Ipv4&IPv6 lookup in getaddrinfoAndreas Schwab2011-06-221-1/+1
| | | | Problem introduced in the last patch.
* Fix IPv6-only lookups through getaddrinfoUlrich Drepper2011-06-211-3/+31
| | | | | A recent patch introduced a problem where IPv6 lookups happily returned IPv4 addresses.
* Minor optimization of getaddrinfo after recent patchUlrich Drepper2011-06-211-14/+4
|
* Fix memory leak in getaddrinfoUlrich Drepper2011-06-131-1/+1
|
* Restore _res correctlyUlrich Drepper2011-05-291-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_inetUlrich Drepper2011-05-201-91/+342
|
* Use mmap for allocation of buffers used for __abort_msgUlrich Drepper2011-05-151-12/+23
|
* Fix sched_setscheduler call in spawn implementationUlrich Drepper2011-05-111-3/+1
|
* Make complete getcwd work in rtldUlrich Drepper2011-05-081-21/+22
|
* Fix Linux getcwd for long pathsUlrich Drepper2011-05-081-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 modulesMaciej Babinski2011-05-021-45/+28
|
* Fix decoding of canonical name in getaddrinfo.Ulrich Drepper2011-01-191-0/+1
|
* Relax requirement on close in child created by posix_spawn.Ulrich Drepper2011-01-131-3/+17
|
* Add self-contained test for NSS.Ulrich Drepper2010-08-111-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 Drepper2010-04-041-2/+8
|
* Fix one case of last checkin.Ulrich Drepper2010-03-261-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 Drepper2010-03-261-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 getaddrinfoAndreas Schwab2010-03-261-0/+1
|
* Fix typo in cuseridAndreas Schwab2010-03-251-1/+1
|
* calls to cuserid() can result in buffer overruns and/or overflowsJonathan Geisler2010-03-241-2/+3
|
* Fix a few error cases in *name4_r lookup handling.Ulrich Drepper2009-12-101-7/+2
|