summaryrefslogtreecommitdiff
path: root/nss
AgeCommit message (Collapse)Author
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers
2012-10-30Suppress incorrect link warnings for NSS symbolsChris Metcalf
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-28Quiet make warning under --disable-shared.Roland McGrath
2012-09-28Avoid more warnings in nsswitch.cRoland McGrath
2012-09-28Avoid unused static function warning in nsswitch.c.Roland McGrath
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath
2012-08-04getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/Jim Meyering
2012-07-31Conditionalize use of PTR_MANGLE.Roland McGrath
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath
2012-07-12Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel
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-22For [BZ#14122], plug memory leaks in nsswitch.c.Paul Pluzhnikov
2012-05-10Hurd: mmap deficienciesThomas Schwinge
2012-05-10Hurd: Add missing includesThomas Schwinge
2012-04-062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov
[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-06Add missing include fileAndreas Jaeger
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-232012-03-23 Jeff Law <law@redhat.com>Jeff Law
* nss/getnssent.c (__nss_getent): Fix typo.
2012-03-232012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov
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-13Add missing string.h include for strcpy calls.David S. Miller
* nss/nss_db/db-init.c: Include string.h
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-03-06Add missing gshadow handling in __nss_configure_lookupUlrich Drepper
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-01Also update new programsUlrich Drepper
2012-01-01Update copyright yearUlrich Drepper
2011-11-15Clean up internal fopen usesUlrich Drepper
No need to ever not use c and e.
2011-11-11Fix db makefile rule for group.dbAndreas Schwab
2011-11-07Fix buffer allocation in files initgroups handlerAndreas Schwab
2011-11-03Don't fail in makedb if SELinux is disabledAndreas Schwab
2011-10-31Unify getent output for initgroups databaseUlrich Drepper
Requests for other fail if iteration is not supported and no parameters are given. Do this for initgroups as well.
2011-10-08Fix some nit warnings.Roland McGrath
2011-10-07Implement caching of nscdUlrich Drepper
2011-10-06Stop crash in OOM handling in NSSUlrich Drepper
2011-10-06More fallout from OOM in NSSJiri Olsa
2011-10-06Handle OOM in NSSJiri Olsa
2011-09-28Optimize libnss_files initializationUlrich Drepper
2011-09-27Correctly reparse group line after enlarging the bufferAndreas Schwab
2011-08-20More optimizations of nss_filesUlrich Drepper
2011-08-20Minor optimizatin in alias lookup in files NSS moduleUlrich Drepper
2011-08-17Avoid executable stack in makedbAndreas Schwab
2011-07-11Generalize framework to register monitoring of files in nscdUlrich Drepper
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.
2011-06-24nss_db: Quash read implicit declaration warningMarek Polacek
In the function `internal_setent' is used the function read, but the forward declaration is missing. Thusly fixed.
2011-06-21Fix crash in unsuccessful uses of nss_dbUlrich Drepper
2011-06-15Install db-MakefileUlrich Drepper
2011-06-15Cleanup of db-XXX.cUlrich Drepper
2011-06-15Add initgroups lookups to nss_dbUlrich Drepper
2011-06-15Add initgroups lookup support to getentUlrich Drepper
2011-06-15Fix handling of initgroups database.Ulrich Drepper
2011-06-15Optimize hash table generation in makedbUlrich Drepper
2011-06-15Reenable nss_db with a completely new implementationUlrich Drepper
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.