aboutsummaryrefslogtreecommitdiff
path: root/nss
AgeCommit message (Collapse)AuthorFilesLines
2012-05-10Hurd: mmap deficienciesThomas Schwinge1-0/+4
2012-05-10Hurd: Add missing includesThomas Schwinge2-1/+5
2012-04-062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov3-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-06Add missing include fileAndreas Jaeger1-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-232012-03-23 Jeff Law <law@redhat.com>Jeff Law1-2/+2
* nss/getnssent.c (__nss_getent): Fix typo.
2012-03-232012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov1-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-13Add missing string.h include for strcpy calls.David S. Miller1-2/+2
* nss/nss_db/db-init.c: Include string.h
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-8/+1
2012-03-06Add missing gshadow handling in __nss_configure_lookupUlrich Drepper1-1/+2
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert55-165/+110
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper1-2/+4
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-07Remove pre-ISO C supportUlrich Drepper1-3/+3
No more __const.
2012-01-01Also update new programsUlrich Drepper1-2/+2
2012-01-01Update copyright yearUlrich Drepper1-2/+2
2011-11-15Clean up internal fopen usesUlrich Drepper6-8/+8
No need to ever not use c and e.
2011-11-11Fix db makefile rule for group.dbAndreas Schwab1-1/+1
2011-11-07Fix buffer allocation in files initgroups handlerAndreas Schwab1-1/+1
2011-11-03Don't fail in makedb if SELinux is disabledAndreas Schwab1-1/+1
2011-10-31Unify getent output for initgroups databaseUlrich Drepper1-0/+6
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 McGrath1-1/+0
2011-10-07Implement caching of nscdUlrich Drepper5-6/+22
2011-10-06Stop crash in OOM handling in NSSUlrich Drepper1-5/+3
2011-10-06More fallout from OOM in NSSJiri Olsa1-1/+1
2011-10-06Handle OOM in NSSJiri Olsa1-1/+4
2011-09-28Optimize libnss_files initializationUlrich Drepper1-35/+18
2011-09-27Correctly reparse group line after enlarging the bufferAndreas Schwab1-4/+8
2011-08-20More optimizations of nss_filesUlrich Drepper2-7/+5
2011-08-20Minor optimizatin in alias lookup in files NSS moduleUlrich Drepper1-3/+3
2011-08-17Avoid executable stack in makedbAndreas Schwab1-5/+7
2011-07-11Generalize framework to register monitoring of files in nscdUlrich Drepper6-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.
2011-06-24nss_db: Quash read implicit declaration warningMarek Polacek1-0/+1
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 Drepper1-4/+7
2011-06-15Install db-MakefileUlrich Drepper1-0/+5
2011-06-15Cleanup of db-XXX.cUlrich Drepper1-63/+59
2011-06-15Add initgroups lookups to nss_dbUlrich Drepper5-14/+206
2011-06-15Add initgroups lookup support to getentUlrich Drepper1-0/+33
2011-06-15Fix handling of initgroups database.Ulrich Drepper1-1/+2
2011-06-15Optimize hash table generation in makedbUlrich Drepper1-23/+102
2011-06-15Reenable nss_db with a completely new implementationUlrich Drepper21-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.
2011-06-15Rewrite makedb to avoid using db libraryUlrich Drepper2-95/+595
2011-05-10More configurability for secondary group lookupUlrich Drepper1-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.
2011-05-06Report if no record is found by initgroups in nss_files.Ulrich Drepper1-1/+3
2011-04-29Add finer grained control for initgroups lookups to NSS.Ulrich Drepper1-0/+1
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2011-04-21Fix reallocation bug in last nss_files change.Ulrich Drepper1-1/+2
2011-04-19Fix little issue with last change.Ulrich Drepper1-2/+4
2011-04-19Define initgroups callback for nss_files.Ulrich Drepper3-1/+135
2011-04-16Obsolete RPC implementation in libc.Ulrich Drepper1-2/+3
2011-01-17Update copyright year.Ulrich Drepper1-2/+2
2011-01-13Handle long lines in host lookups in the right place.Ulrich Drepper1-6/+55