Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-30 | Properly cache the result from looking up the nss database config | Andreas Schwab | 1 | -8/+6 | |
2013-08-28 | Use __glibc_unlikely instead of __builtin_expect (..., 0) | Siddhesh Poyarekar | 1 | -1/+1 | |
2013-08-16 | CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r | Florian Weimer | 4 | -12/+34 | |
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode member. * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode member. * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member. * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit. Return delayed error code. Remove GETDENTS_64BIT_ALIGNED conditional. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define GETDENTS_64BIT_ALIGNED. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. * manual/filesys.texi (Reading/Closing Directory): Document ENAMETOOLONG return value of readdir_r. Recommend readdir more strongly. * manual/conf.texi (Limits for Files): Add portability note to NAME_MAX, PATH_MAX. (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX. | |||||
2013-06-11 | Fix symbol definitions for __clock_* functions | Siddhesh Poyarekar | 1 | -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. | |||||
2013-06-08 | Use (void) in no-arguments function definitions. | Joseph Myers | 1 | -1/+1 | |
2013-05-21 | Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL | Siddhesh Poyarekar | 1 | -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. | |||||
2013-05-16 | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 1 | -0/+1 | |
2013-05-06 | Clean up POSIX.1 implementation of truncate. | Roland McGrath | 1 | -7/+10 | |
2013-05-01 | Add missing #include in sysdeps/posix/opendir.c. | Roland McGrath | 1 | -0/+1 | |
2013-04-23 | Fix name space use in last commit. | Roland McGrath | 1 | -1/+1 | |
2013-04-23 | Add generic POSIX implementation of C11 timespec_get. | Roland McGrath | 1 | -0/+38 | |
2013-04-22 | Minor cleanup in getaddrinfo | Siddhesh Poyarekar | 1 | -3/+4 | |
Replace repeated computations of alloca size with a local variable that stores the computed value. | |||||
2013-04-03 | Fix stack overflow in getaddrinfo with many results | Andreas Schwab | 1 | -2/+21 | |
2013-03-28 | Never call syslog in __libc_message. | Roland McGrath | 1 | -9/+0 | |
2013-03-19 | Consolidate Linux and POSIX libc_fatal code. | Roland McGrath | 1 | -7/+30 | |
2013-02-14 | Remove bp-sym.h and BP_SYM uses from C code. | Joseph Myers | 1 | -4/+3 | |
2013-01-23 | ulimit: include <limits.h> | Pino Toscano | 1 | -0/+1 | |
2013-01-23 | ulimit: move linux implementation as posix | Pino Toscano | 1 | -0/+91 | |
The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation. | |||||
2013-01-02 | Fix copyright notice corruption from update-copyright bug. | Joseph Myers | 1 | -1/+1 | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 78 | -84/+78 | |
2013-01-01 | Add script to update copyright notices and reformat some to facilitate its use. | Joseph Myers | 2 | -4/+2 | |
2012-11-19 | Return EAI_SYSTEM if we're out of file descriptors | Siddhesh Poyarekar | 1 | -0/+6 | |
Resolves BZ #14719. | |||||
2012-11-17 | Generate /usr/libexec/getconf files when cross-compiling. | Joseph Myers | 1 | -72/+23 | |
2012-10-30 | Suppress incorrect link warnings for NSS symbols | Chris Metcalf | 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. | |||||
2012-10-24 | BZ#14743: Move clock_* symbols from librt to libc. | Roland McGrath | 1 | -1/+2 | |
2012-10-16 | __alloc_dir: avoid integer overflow in malloc argument | Florian Weimer | 1 | -4/+11 | |
2012-10-03 | sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE | Pino Toscano | 1 | -0/+1 | |
2012-09-28 | Implement POSIX-generic sleep via nanosleep rather than SIGARLM. | Roland McGrath | 1 | -65/+35 | |
2012-09-28 | [BZ #11438] | Jeff Law | 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. | |||||
2012-08-22 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r | Jeff Law | 1 | -2/+7 | |
if the family is PF_UNSPEC. | |||||
2012-08-17 | Move some things from sysdeps/unix to sysdeps/posix. | Roland McGrath | 6 | -0/+252 | |
2012-08-17 | Fix typo in last change. | Roland McGrath | 1 | -1/+1 | |
2012-08-17 | Fix getaddrinfo for [!_STATBUF_ST_NSEC] case. | Roland McGrath | 1 | -2/+35 | |
2012-08-15 | Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT]. | Roland McGrath | 1 | -3/+3 | |
2012-08-08 | Add a missing #include. | Roland McGrath | 1 | -1/+2 | |
2012-08-07 | Move common dirent implementation from sysdeps/unix to sysdeps/posix. | Roland McGrath | 10 | -0/+774 | |
2012-07-30 | Fix lots of bitrot for stub configurations. | Roland McGrath | 3 | -3/+5 | |
2012-07-25 | Rename __secure_getenv to secure_getenv | Florian Weimer | 3 | -10/+12 | |
2012-07-12 | Avoid duplicate DNS requests if answer is longer than a implementation | Jeroen van Bemmel | 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). | |||||
2012-05-24 | Switch gettimeofday from INTUSE to libc_hidden_proto. | Roland McGrath | 1 | -5/+3 | |
2012-05-10 | Hurd: libc_once_get | Thomas Schwinge | 1 | -1/+1 | |
2012-05-10 | Hurd: #include <kernel-features.h> | Thomas Schwinge | 1 | -1/+2 | |
2012-04-23 | Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/. | Joseph Myers | 1 | -0/+48 | |
2012-02-27 | Add missing headers | Andreas Schwab | 1 | -1/+2 | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 61 | -183/+122 | |
2012-01-30 | Remove miscellaneous __STDC__ conditionals. | Joseph Myers | 1 | -5/+1 | |
2011-11-15 | Clean up internal fopen uses | Ulrich Drepper | 1 | -1/+1 | |
No need to ever not use c and e. | |||||
2011-10-31 | Cache network interface information | Ulrich Drepper | 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. | |||||
2011-09-19 | Clean up disabling of script_execute | Roland McGrath | 1 | -9/+11 | |
2011-09-05 | Try shell in posix_spawn* only in compat mode | Ulrich Drepper | 1 | -4/+10 | |