about summary refs log tree commit diff
path: root/nscd
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting in last change.Roland McGrath2012-05-151-1/+2
|
* Avoid race in nscdAndreas Jaeger2012-05-153-18/+39
| | | | | | | | | | | | | 2012-05-15 Jeff Law <law@redhat.com> Andreas Jaeger <aj@suse.de> [BZ #13594] * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split out from... * nscd/nscd_helper.c (__nscd_get_map_ref): ... here. * nscd/nscd-client.h: Add __nscd_acquire_maplock. * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to code changing __hst_map_handle.map.
* Hurd: #include <kernel-features.h>Thomas Schwinge2012-05-102-8/+6
|
* Cleanup nscd.cAndreas Jaeger2012-05-091-7/+7
| | | | | | | | | | 2012-05-09 Andreas Jaeger <aj@suse.de> * nscd/nscd.c (run_modes): Make named enum, reorder so that default is first entry. (run_mode): Set type. (main): Remove informal message about syslog. (options): Fix typo.
* Cleanup last patch for nscd/nscd.cAndreas Jaeger2012-05-091-4/+3
| | | | | * nscd/nscd.c (run_mode): Use enum. (main): Cleanup coding style issue.
* Add --foreground option for nscdAndreas Jaeger2012-05-091-16/+43
| | | | | | | | | | | | | | | For a better integration of nscd with systemd, we should run nscd not as daemon but in the foreground. A new --foreground option should be added. 2012-05-09 Alexandre Oliva <aoliva@redhat.com> Andreas Jaeger <aj@suse.de> * nscd/nscd.c (go_background): Replaced with... (run_mode): ... this. (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add. (options): Add -F --foreground. (main): Implement it. (parse_opt): Parse it.
* 2012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-5/+0
| | | | | | | | | | | | | | | | | | | 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.
* Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-203-3/+3
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-5/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0939-94/+55
|
* Do not cache negative results in nscd if these are transientUlrich Drepper2012-01-206-18/+24
|
* Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper2012-01-082-10/+8
| | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
* Update copyright yearUlrich Drepper2012-01-011-2/+2
|
* Avoid warning in aicache.cUlrich Drepper2011-12-021-2/+5
|
* Don't start AVC thread until credentials are installedAndreas Schwab2011-11-031-4/+4
|
* Properly set extra-objs in nscd makefileAndreas Schwab2011-11-011-1/+1
|
* Use kernel headers for netlink definitionsUlrich Drepper2011-11-011-1/+2
|
* Cache network interface informationUlrich Drepper2011-10-314-7/+162
| | | | | | | | | | | | Whenever getaddrinfo needed network interface information it used the netlink interface to read the information every single time. The problem is that this information can change at any time. The patch implements monitoring of the network interfaces through nscd. If no change is detected the previously read information can be reused (which is the norm). This timestamp information is also made available to other processes using the shared memory segment between nscd and those processes.
* Fix nesting of #ifdefs in netgroupcache.cUlrich Drepper2011-10-171-2/+2
|
* Fix some nit warnings.Roland McGrath2011-10-081-0/+2
|
* Implement caching of nscdUlrich Drepper2011-10-0711-18/+1070
|
* Don't unnecesarily use inotify in nscdUlrich Drepper2011-10-071-1/+1
|
* Avoid warning when reload of group entry failsUlrich Drepper2011-10-061-0/+2
|
* Add missing initialization in service cache in nscdUlrich Drepper2011-08-141-1/+1
|
* Avoid warning in nscd config file parsing codeMarek Polacek2011-07-191-17/+15
|
* Avoid possible crashes in anormal nscd exitsUlrich Drepper2011-07-191-1/+1
|
* Generalize framework to register monitoring of files in nscdUlrich Drepper2011-07-114-104/+144
| | | | | | | | 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.
* Avoid warning.Ulrich Drepper2011-07-051-1/+1
|
* nscd cleanupsUlrich Drepper2011-07-015-12/+21
| | | | | Cleanup and optimize last patch. Add timeout fixes also to the services cache.
* Handle nscd negtimeout==0Thorsten Kukuk2011-07-015-14/+36
|
* Avoid write to invalid file descriptor in nscdUlrich Drepper2011-06-292-4/+6
| | | | | | When readding entries to the group and services cache and the lookup is unsuccesful, we tried to write the notfound record. Just don't do it in this case.
* Fix handling of RES_USE_INET6 big in nscdUlrich Drepper2011-06-271-1/+1
| | | | This fixes BZ #12350 also for nscd.
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-4/+0
|
* Don't free non-malloced memory and fix memory leak glibc-2.14.9000Ulrich Drepper2011-05-311-4/+12
|
* Add a few more alloca size checksUlrich Drepper2011-05-221-6/+53
|
* Add support for generated PIE link rulesAndreas Schwab2011-05-131-7/+3
|
* Remove doubled words.Jim Meyering2011-04-221-1/+1
|
* Fix a comment.Justin P. Mattock2011-04-171-1/+1
|
* Schedule nscd cache pruning more accurately fromr re-added values.Ulrich Drepper2011-02-0510-99/+152
|
* Update copyright year.Ulrich Drepper2011-01-171-2/+2
|
* Signal temporary host lookup errors in nscd as such to the requester.Ulrich Drepper2011-01-151-4/+23
|
* Fix crash on reloading of gai data in nscd.Ulrich Drepper2010-04-091-4/+6
|
* Print reload count in nscd statistics.Ulrich Drepper2010-04-081-3/+6
|
* Update copyright year.Ulrich Drepper2010-03-151-4/+4
|
* Try harder to re-exec nscd in paranoia mode.Ulrich Drepper2009-11-221-4/+3
|
* Fix a few asserts and IO calls in nscd.Anders Johansson2009-10-295-13/+13
| | | | | | | | The nscd/*cache.c files contain assert()s, writeall() and sendfileall() calls that invalidly use together &dataset->resp and total where either dataset or dataset->head.recsize should be used instead one of the components. In the writeall() and sendfileall() cases, it is unlikely to matter in practice, but the assertions can fail sometimes without a proper reason.
* Print timestamp in nscd debug messages.Ulrich Drepper2009-10-291-4/+13
|
* Revert "Fix lock handling in memory hander of nscd."Ulrich Drepper2009-07-177-5/+27
| | | | | | | | This reverts commit 137028b4d7e50f71906c1656c27079eac5a1d085. Conflicts: ChangeLog
* Fix lock handling in memory hander of nscd.Petr Baudis2009-07-167-27/+5
| | | | | | | | | | The commit 20e498bd removes the pthread_mutex_rdlock() calls, but not the corresponding pthread_mutex_unlock() calls. Also, the database lock is never unlocked in one branch of the mempool_alloc() if. I think unreproducible random assert(dh->usable) crashes in prune_cache() were caused by this. But an easy way to make nscd threads hang with the broken locking was.
* Use correct release semantic in list update.Andreas Schwab2009-07-161-1/+1
| | | | | nscd uses lockfree lists and we need to ensure the correct release semantics is used when adding to the list.