Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Suppress incorrect link warnings for NSS symbols | Chris Metcalf | 2012-10-30 | 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. | ||||
* | Quiet make warning under --disable-shared. | Roland McGrath | 2012-09-28 | 1 | -0/+2 |
| | |||||
* | Avoid more warnings in nsswitch.c | Roland McGrath | 2012-09-28 | 1 | -0/+4 |
| | |||||
* | Avoid unused static function warning in nsswitch.c. | Roland McGrath | 2012-09-28 | 1 | -0/+2 |
| | |||||
* | BZ#13696: Add --disable-nscd configure option. | Roland McGrath | 2012-08-22 | 3 | -4/+16 |
| | |||||
* | getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/ | Jim Meyering | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | Conditionalize use of PTR_MANGLE. | Roland McGrath | 2012-07-31 | 1 | -2/+10 |
| | |||||
* | Fix lots of bitrot for stub configurations. | Roland McGrath | 2012-07-30 | 5 | -2/+11 |
| | |||||
* | Avoid duplicate DNS requests if answer is longer than a implementation | Jeroen van Bemmel | 2012-07-12 | 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). | ||||
* | For [BZ#14122], plug memory leaks in nsswitch.c. | Paul Pluzhnikov | 2012-05-22 | 1 | -24/+70 |
| | |||||
* | Hurd: mmap deficiencies | Thomas Schwinge | 2012-05-10 | 1 | -0/+4 |
| | |||||
* | Hurd: Add missing includes | Thomas Schwinge | 2012-05-10 | 2 | -1/+5 |
| | |||||
* | 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com> | Paul Pluzhnikov | 2012-04-06 | 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. | ||||
* | Add missing include file | Andreas Jaeger | 2012-04-06 | 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 Jeff Law <law@redhat.com> | Jeff Law | 2012-03-23 | 1 | -2/+2 |
| | | | | * nss/getnssent.c (__nss_getent): Fix typo. | ||||
* | 2012-03-23 Daniel Jacobowitz <dmj@google.com> | Paul Pluzhnikov | 2012-03-23 | 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. | ||||
* | Add missing string.h include for strcpy calls. | David S. Miller | 2012-03-13 | 1 | -2/+2 |
| | | | | * nss/nss_db/db-init.c: Include string.h | ||||
* | Remove distribute variable from Makefiles | Ulrich Drepper | 2012-03-07 | 1 | -8/+1 |
| | |||||
* | Add missing gshadow handling in __nss_configure_lookup | Ulrich Drepper | 2012-03-06 | 1 | -1/+2 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 55 | -165/+110 |
| | |||||
* | Optimize xmalloc, xcalloc, xrealloc, and xstrdup | Ulrich Drepper | 2012-01-08 | 1 | -2/+4 |
| | | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. | ||||
* | Remove pre-ISO C support | Ulrich Drepper | 2012-01-07 | 1 | -3/+3 |
| | | | | No more __const. | ||||
* | Also update new programs | Ulrich Drepper | 2012-01-01 | 1 | -2/+2 |
| | |||||
* | Update copyright year | Ulrich Drepper | 2012-01-01 | 1 | -2/+2 |
| | |||||
* | Clean up internal fopen uses | Ulrich Drepper | 2011-11-15 | 6 | -8/+8 |
| | | | | No need to ever not use c and e. | ||||
* | Fix db makefile rule for group.db | Andreas Schwab | 2011-11-11 | 1 | -1/+1 |
| | |||||
* | Fix buffer allocation in files initgroups handler | Andreas Schwab | 2011-11-07 | 1 | -1/+1 |
| | |||||
* | Don't fail in makedb if SELinux is disabled | Andreas Schwab | 2011-11-03 | 1 | -1/+1 |
| | |||||
* | Unify getent output for initgroups database | Ulrich Drepper | 2011-10-31 | 1 | -0/+6 |
| | | | | | Requests for other fail if iteration is not supported and no parameters are given. Do this for initgroups as well. | ||||
* | Fix some nit warnings. | Roland McGrath | 2011-10-08 | 1 | -1/+0 |
| | |||||
* | Implement caching of nscd | Ulrich Drepper | 2011-10-07 | 5 | -6/+22 |
| | |||||
* | Stop crash in OOM handling in NSS | Ulrich Drepper | 2011-10-06 | 1 | -5/+3 |
| | |||||
* | More fallout from OOM in NSS | Jiri Olsa | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Handle OOM in NSS | Jiri Olsa | 2011-10-06 | 1 | -1/+4 |
| | |||||
* | Optimize libnss_files initialization | Ulrich Drepper | 2011-09-28 | 1 | -35/+18 |
| | |||||
* | Correctly reparse group line after enlarging the buffer | Andreas Schwab | 2011-09-27 | 1 | -4/+8 |
| | |||||
* | More optimizations of nss_files | Ulrich Drepper | 2011-08-20 | 2 | -7/+5 |
| | |||||
* | Minor optimizatin in alias lookup in files NSS module | Ulrich Drepper | 2011-08-20 | 1 | -3/+3 |
| | |||||
* | Avoid executable stack in makedb | Andreas Schwab | 2011-08-17 | 1 | -5/+7 |
| | |||||
* | Generalize framework to register monitoring of files in nscd | Ulrich Drepper | 2011-07-11 | 6 | -48/+259 |
| | | | | | | | | nscd can clear caches when certain files change. The list of files was hardcoded so far and worked for nss_files and nss_dns and those modules which need no monitoring. nss_db, for instance, has its own set of files to monitor. Now the NSS modules themselves can request that certain files are monitored. | ||||
* | nss_db: Quash read implicit declaration warning | Marek Polacek | 2011-06-24 | 1 | -0/+1 |
| | | | | | In the function `internal_setent' is used the function read, but the forward declaration is missing. Thusly fixed. | ||||
* | Fix crash in unsuccessful uses of nss_db | Ulrich Drepper | 2011-06-21 | 1 | -4/+7 |
| | |||||
* | Install db-Makefile | Ulrich Drepper | 2011-06-15 | 1 | -0/+5 |
| | |||||
* | Cleanup of db-XXX.c | Ulrich Drepper | 2011-06-15 | 1 | -63/+59 |
| | |||||
* | Add initgroups lookups to nss_db | Ulrich Drepper | 2011-06-15 | 5 | -14/+206 |
| | |||||
* | Add initgroups lookup support to getent | Ulrich Drepper | 2011-06-15 | 1 | -0/+33 |
| | |||||
* | Fix handling of initgroups database. | Ulrich Drepper | 2011-06-15 | 1 | -1/+2 |
| | |||||
* | Optimize hash table generation in makedb | Ulrich Drepper | 2011-06-15 | 1 | -23/+102 |
| | |||||
* | Reenable nss_db with a completely new implementation | Ulrich Drepper | 2011-06-15 | 21 | -1391/+519 |
| | | | | | | No longer is Berkeley db used. Instead a simple hash function is used. The database files are not updated once they are created and therefore no complicated database is needed. | ||||
* | Rewrite makedb to avoid using db library | Ulrich Drepper | 2011-06-15 | 2 | -95/+595 |
| |