about summary refs log tree commit diff
path: root/nss
Commit message (Collapse)AuthorAgeFilesLines
* BZ#13696: Add --disable-nscd configure option.Roland McGrath2012-08-223-4/+16
|
* getXXbyYY_r.c: Fix comment typo: s/FUNCTION_NAME/FUNCTION2_NAME/Jim Meyering2012-08-041-1/+1
|
* Conditionalize use of PTR_MANGLE.Roland McGrath2012-07-311-2/+10
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-305-2/+11
|
* Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel2012-07-121-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 Pluzhnikov2012-05-221-24/+70
|
* Hurd: mmap deficienciesThomas Schwinge2012-05-101-0/+4
|
* Hurd: Add missing includesThomas Schwinge2012-05-102-1/+5
|
* 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2012-04-063-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 fileAndreas Jaeger2012-04-061-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 Law2012-03-231-2/+2
| | | | * nss/getnssent.c (__nss_getent): Fix typo.
* 2012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-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. Miller2012-03-131-2/+2
| | | | * nss/nss_db/db-init.c: Include string.h
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-8/+1
|
* Add missing gshadow handling in __nss_configure_lookupUlrich Drepper2012-03-061-1/+2
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0955-165/+110
|
* Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper2012-01-081-2/+4
| | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
* Remove pre-ISO C supportUlrich Drepper2012-01-071-3/+3
| | | | No more __const.
* Also update new programsUlrich Drepper2012-01-011-2/+2
|
* Update copyright yearUlrich Drepper2012-01-011-2/+2
|
* Clean up internal fopen usesUlrich Drepper2011-11-156-8/+8
| | | | No need to ever not use c and e.
* Fix db makefile rule for group.dbAndreas Schwab2011-11-111-1/+1
|
* Fix buffer allocation in files initgroups handlerAndreas Schwab2011-11-071-1/+1
|
* Don't fail in makedb if SELinux is disabledAndreas Schwab2011-11-031-1/+1
|
* Unify getent output for initgroups databaseUlrich Drepper2011-10-311-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 McGrath2011-10-081-1/+0
|
* Implement caching of nscdUlrich Drepper2011-10-075-6/+22
|
* Stop crash in OOM handling in NSSUlrich Drepper2011-10-061-5/+3
|
* More fallout from OOM in NSSJiri Olsa2011-10-061-1/+1
|
* Handle OOM in NSSJiri Olsa2011-10-061-1/+4
|
* Optimize libnss_files initializationUlrich Drepper2011-09-281-35/+18
|
* Correctly reparse group line after enlarging the bufferAndreas Schwab2011-09-271-4/+8
|
* More optimizations of nss_filesUlrich Drepper2011-08-202-7/+5
|
* Minor optimizatin in alias lookup in files NSS moduleUlrich Drepper2011-08-201-3/+3
|
* Avoid executable stack in makedbAndreas Schwab2011-08-171-5/+7
|
* Generalize framework to register monitoring of files in nscdUlrich Drepper2011-07-116-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 warningMarek Polacek2011-06-241-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_dbUlrich Drepper2011-06-211-4/+7
|
* Install db-MakefileUlrich Drepper2011-06-151-0/+5
|
* Cleanup of db-XXX.cUlrich Drepper2011-06-151-63/+59
|
* Add initgroups lookups to nss_dbUlrich Drepper2011-06-155-14/+206
|
* Add initgroups lookup support to getentUlrich Drepper2011-06-151-0/+33
|
* Fix handling of initgroups database.Ulrich Drepper2011-06-151-1/+2
|
* Optimize hash table generation in makedbUlrich Drepper2011-06-151-23/+102
|
* Reenable nss_db with a completely new implementationUlrich Drepper2011-06-1521-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 libraryUlrich Drepper2011-06-152-95/+595
|
* More configurability for secondary group lookupUlrich Drepper2011-05-101-1/+1
| | | | | | | | | | | | | Together with a previous patch which introduced the initgroups entry in nsswitch.conf this patch allows more customization of the lookups for initgroups/getgrouplist. Nothing changes if the groups entry in nsswitch.conf is used. If the initgroups entry is used instead the code now doesn't automatically continue looking for more entries aftedr a successful lookup. Instead the normal rules are followed which do specify that by default no more service is consulted. This can be overwritten with [SUCCESS=continue] appropriately placed in the line.
* Report if no record is found by initgroups in nss_files.Ulrich Drepper2011-05-061-1/+3
|
* Add finer grained control for initgroups lookups to NSS.Ulrich Drepper2011-04-291-0/+1
|
* Remove doubled words.Jim Meyering2011-04-221-2/+2
|