about summary refs log tree commit diff
path: root/sysdeps/posix
Commit message (Collapse)AuthorAgeFilesLines
* Fix symbol definitions for __clock_* functionsSiddhesh Poyarekar2013-06-111-2/+2
| | | | | | __clock_gettime and other __clock_* functions could result in an extra PLT reference within libc.so if it actually gets used. None of the code currently uses them, which is why this probably went unnoticed.
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-081-1/+1
|
* Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar2013-05-211-2/+10
| | | | | | | | | | | | Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-161-0/+1
|
* Clean up POSIX.1 implementation of truncate.Roland McGrath2013-05-061-7/+10
|
* Add missing #include in sysdeps/posix/opendir.c.Roland McGrath2013-05-011-0/+1
|
* Fix name space use in last commit.Roland McGrath2013-04-231-1/+1
|
* Add generic POSIX implementation of C11 timespec_get.Roland McGrath2013-04-231-0/+38
|
* Minor cleanup in getaddrinfoSiddhesh Poyarekar2013-04-221-3/+4
| | | | | Replace repeated computations of alloca size with a local variable that stores the computed value.
* Fix stack overflow in getaddrinfo with many resultsAndreas Schwab2013-04-031-2/+21
|
* Never call syslog in __libc_message.Roland McGrath2013-03-281-9/+0
|
* Consolidate Linux and POSIX libc_fatal code.Roland McGrath2013-03-191-7/+30
|
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-141-4/+3
|
* ulimit: include <limits.h>Pino Toscano2013-01-231-0/+1
|
* ulimit: move linux implementation as posixPino Toscano2013-01-231-0/+91
| | | | | The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.
* Fix copyright notice corruption from update-copyright bug.Joseph Myers2013-01-021-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0278-84/+78
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-012-4/+2
|
* Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar2012-11-191-0/+6
| | | | Resolves BZ #14719.
* Generate /usr/libexec/getconf files when cross-compiling.Joseph Myers2012-11-171-72/+23
|
* Suppress incorrect link warnings for NSS symbolsChris Metcalf2012-10-301-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 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
|