Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-21 | Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL | Siddhesh Poyarekar | 1 | -4/+4 | |
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-21 | Fix parsing of numeric hosts in gethostbyname_r | Andreas Schwab | 4 | -55/+63 | |
2013-05-16 | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 6 | -0/+6 | |
2013-04-23 | Remove non-standard initialisation of flexible array member | Andreas Schwab | 1 | -1/+8 | |
This avoids GCC bug 28865. | |||||
2013-04-22 | Fix getent to call endspent rather than endpwent for shadow database. | Jan-Benedict Glaw | 1 | -1/+1 | |
2013-03-18 | BZ#14812: Add missing translation marker on some argp option argument names ↵ | Roland McGrath | 1 | -1/+1 | |
in utilities. | |||||
2013-02-18 | unify xmalloc prototypes & friends | Mike Frysinger | 1 | -4/+1 | |
These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||||
2013-02-07 | Remove lots of inline keywords. | Roland McGrath | 1 | -5/+5 | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 54 | -56/+54 | |
2013-01-01 | Update copyright years. | David S. Miller | 2 | -4/+4 | |
* catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise. | |||||
2012-11-28 | Fix hashtable size calculation when database has exactly one record | Siddhesh Poyarekar | 1 | -3/+6 | |
The hash function needs a hashtable of at least size 3 or greater. | |||||
2012-11-19 | Return EAI_SYSTEM if we're out of file descriptors | Siddhesh Poyarekar | 1 | -1/+6 | |
Resolves BZ #14719. | |||||
2012-11-09 | Support --with-pkgversion and --with-bugurl. | Joseph Myers | 2 | -6/+9 | |
2012-10-30 | Suppress incorrect link warnings for NSS symbols | Chris Metcalf | 5 | -6/+14 | |
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-09-28 | Quiet make warning under --disable-shared. | Roland McGrath | 1 | -0/+2 | |
2012-09-28 | Avoid more warnings in nsswitch.c | Roland McGrath | 1 | -0/+4 | |
2012-09-28 | Avoid unused static function warning in nsswitch.c. | Roland McGrath | 1 | -0/+2 | |
2012-08-22 | BZ#13696: Add --disable-nscd configure option. | Roland McGrath | 3 | -4/+16 | |
2012-08-04 | getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/ | Jim Meyering | 1 | -1/+1 | |
2012-07-31 | Conditionalize use of PTR_MANGLE. | Roland McGrath | 1 | -2/+10 | |
2012-07-30 | Fix lots of bitrot for stub configurations. | Roland McGrath | 5 | -2/+11 | |
2012-07-12 | Avoid duplicate DNS requests if answer is longer than a implementation | Jeroen van Bemmel | 1 | -2/+5 | |
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-22 | For [BZ#14122], plug memory leaks in nsswitch.c. | Paul Pluzhnikov | 1 | -24/+70 | |
2012-05-10 | Hurd: mmap deficiencies | Thomas Schwinge | 1 | -0/+4 | |
2012-05-10 | Hurd: Add missing includes | Thomas Schwinge | 2 | -1/+5 | |
2012-04-06 | 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com> | Paul Pluzhnikov | 3 | -9/+26 | |
[BZ #13895] * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid extra indirection. * nss/Makefile (tests-static, tests): Add tst-nss-static. * nss/tst-nss-static.c: New. | |||||
2012-04-06 | Add missing include file | Andreas Jaeger | 1 | -1/+2 | |
Compiling on Linux/i586 I get these warnings: nss_db/db-initgroups.c:60:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nss_db/db-initgroups.c:74:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] Fixed with inclusion of <string.h> | |||||
2012-03-23 | 2012-03-23 Jeff Law <law@redhat.com> | Jeff Law | 1 | -2/+2 | |
* nss/getnssent.c (__nss_getent): Fix typo. | |||||
2012-03-23 | 2012-03-23 Daniel Jacobowitz <dmj@google.com> | Paul Pluzhnikov | 1 | -12/+4 | |
Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines. | |||||
2012-03-13 | Add missing string.h include for strcpy calls. | David S. Miller | 1 | -2/+2 | |
* nss/nss_db/db-init.c: Include string.h | |||||
2012-03-07 | Remove distribute variable from Makefiles | Ulrich Drepper | 1 | -8/+1 | |
2012-03-06 | Add missing gshadow handling in __nss_configure_lookup | Ulrich Drepper | 1 | -1/+2 | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 55 | -165/+110 | |
2012-01-08 | Optimize xmalloc, xcalloc, xrealloc, and xstrdup | Ulrich Drepper | 1 | -2/+4 | |
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. | |||||
2012-01-07 | Remove pre-ISO C support | Ulrich Drepper | 1 | -3/+3 | |
No more __const. | |||||
2012-01-01 | Also update new programs | Ulrich Drepper | 1 | -2/+2 | |
2012-01-01 | Update copyright year | Ulrich Drepper | 1 | -2/+2 | |
2011-11-15 | Clean up internal fopen uses | Ulrich Drepper | 6 | -8/+8 | |
No need to ever not use c and e. | |||||
2011-11-11 | Fix db makefile rule for group.db | Andreas Schwab | 1 | -1/+1 | |
2011-11-07 | Fix buffer allocation in files initgroups handler | Andreas Schwab | 1 | -1/+1 | |
2011-11-03 | Don't fail in makedb if SELinux is disabled | Andreas Schwab | 1 | -1/+1 | |
2011-10-31 | Unify getent output for initgroups database | Ulrich Drepper | 1 | -0/+6 | |
Requests for other fail if iteration is not supported and no parameters are given. Do this for initgroups as well. | |||||
2011-10-08 | Fix some nit warnings. | Roland McGrath | 1 | -1/+0 | |
2011-10-07 | Implement caching of nscd | Ulrich Drepper | 5 | -6/+22 | |
2011-10-06 | Stop crash in OOM handling in NSS | Ulrich Drepper | 1 | -5/+3 | |
2011-10-06 | More fallout from OOM in NSS | Jiri Olsa | 1 | -1/+1 | |
2011-10-06 | Handle OOM in NSS | Jiri Olsa | 1 | -1/+4 | |
2011-09-28 | Optimize libnss_files initialization | Ulrich Drepper | 1 | -35/+18 | |
2011-09-27 | Correctly reparse group line after enlarging the buffer | Andreas Schwab | 1 | -4/+8 | |
2011-08-20 | More optimizations of nss_files | Ulrich Drepper | 2 | -7/+5 | |