Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-20 | Move stdio-common/_itoa.h to sysdeps/generic | H.J. Lu | 3 | -3/+3 | |
2012-03-07 | Remove distribute variable from Makefiles | Ulrich Drepper | 1 | -5/+1 | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 39 | -94/+55 | |
2012-01-20 | Do not cache negative results in nscd if these are transient | Ulrich Drepper | 6 | -18/+24 | |
2012-01-08 | Optimize xmalloc, xcalloc, xrealloc, and xstrdup | Ulrich Drepper | 2 | -10/+8 | |
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup. | |||||
2012-01-01 | Update copyright year | Ulrich Drepper | 1 | -2/+2 | |
2011-12-02 | Avoid warning in aicache.c | Ulrich Drepper | 1 | -2/+5 | |
2011-11-03 | Don't start AVC thread until credentials are installed | Andreas Schwab | 1 | -4/+4 | |
2011-11-01 | Properly set extra-objs in nscd makefile | Andreas Schwab | 1 | -1/+1 | |
2011-11-01 | Use kernel headers for netlink definitions | Ulrich Drepper | 1 | -1/+2 | |
2011-10-31 | Cache network interface information | Ulrich Drepper | 4 | -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. | |||||
2011-10-17 | Fix nesting of #ifdefs in netgroupcache.c | Ulrich Drepper | 1 | -2/+2 | |
2011-10-08 | Fix some nit warnings. | Roland McGrath | 1 | -0/+2 | |
2011-10-07 | Implement caching of nscd | Ulrich Drepper | 11 | -18/+1070 | |
2011-10-07 | Don't unnecesarily use inotify in nscd | Ulrich Drepper | 1 | -1/+1 | |
2011-10-06 | Avoid warning when reload of group entry fails | Ulrich Drepper | 1 | -0/+2 | |
2011-08-14 | Add missing initialization in service cache in nscd | Ulrich Drepper | 1 | -1/+1 | |
2011-07-19 | Avoid warning in nscd config file parsing code | Marek Polacek | 1 | -17/+15 | |
2011-07-19 | Avoid possible crashes in anormal nscd exits | Ulrich Drepper | 1 | -1/+1 | |
2011-07-11 | Generalize framework to register monitoring of files in nscd | Ulrich Drepper | 4 | -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. | |||||
2011-07-05 | Avoid warning. | Ulrich Drepper | 1 | -1/+1 | |
2011-07-01 | nscd cleanups | Ulrich Drepper | 5 | -12/+21 | |
Cleanup and optimize last patch. Add timeout fixes also to the services cache. | |||||
2011-07-01 | Handle nscd negtimeout==0 | Thorsten Kukuk | 5 | -14/+36 | |
2011-06-29 | Avoid write to invalid file descriptor in nscd | Ulrich Drepper | 2 | -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. | |||||
2011-06-27 | Fix handling of RES_USE_INET6 big in nscd | Ulrich Drepper | 1 | -1/+1 | |
This fixes BZ #12350 also for nscd. | |||||
2011-06-10 | Quash some new warnings from GCC 4.6. | Roland McGrath | 1 | -4/+0 | |
2011-05-31 | Don't free non-malloced memory and fix memory leakglibc-2.14.9000 | Ulrich Drepper | 1 | -4/+12 | |
2011-05-22 | Add a few more alloca size checks | Ulrich Drepper | 1 | -6/+53 | |
2011-05-13 | Add support for generated PIE link rules | Andreas Schwab | 1 | -7/+3 | |
2011-04-22 | Remove doubled words. | Jim Meyering | 1 | -1/+1 | |
2011-04-17 | Fix a comment. | Justin P. Mattock | 1 | -1/+1 | |
2011-02-05 | Schedule nscd cache pruning more accurately fromr re-added values. | Ulrich Drepper | 10 | -99/+152 | |
2011-01-17 | Update copyright year. | Ulrich Drepper | 1 | -2/+2 | |
2011-01-15 | Signal temporary host lookup errors in nscd as such to the requester. | Ulrich Drepper | 1 | -4/+23 | |
2010-04-09 | Fix crash on reloading of gai data in nscd. | Ulrich Drepper | 1 | -4/+6 | |
2010-04-08 | Print reload count in nscd statistics. | Ulrich Drepper | 1 | -3/+6 | |
2010-03-15 | Update copyright year. | Ulrich Drepper | 1 | -4/+4 | |
2009-11-22 | Try harder to re-exec nscd in paranoia mode. | Ulrich Drepper | 1 | -4/+3 | |
2009-10-29 | Fix a few asserts and IO calls in nscd. | Anders Johansson | 5 | -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. | |||||
2009-10-29 | Print timestamp in nscd debug messages. | Ulrich Drepper | 1 | -4/+13 | |
2009-07-17 | Revert "Fix lock handling in memory hander of nscd." | Ulrich Drepper | 7 | -5/+27 | |
This reverts commit 137028b4d7e50f71906c1656c27079eac5a1d085. Conflicts: ChangeLog | |||||
2009-07-16 | Fix lock handling in memory hander of nscd. | Petr Baudis | 7 | -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. | |||||
2009-07-16 | Use correct release semantic in list update. | Andreas Schwab | 1 | -1/+1 | |
nscd uses lockfree lists and we need to ensure the correct release semantics is used when adding to the list. | |||||
2009-06-16 | Consolidate PIE linking Makefile rules. | H.J. Lu | 1 | -9/+2 | |
2009-05-18 | Fix forced loop termination in nscd database lookup. | Jakub Jelinek | 1 | -3/+13 | |
There are two issues with the forced loop exit in the nscd lookup: 1. the estimate of the entry size isn't pessimistic enough for all databases, resulting potentially is too early exits 2. the combination of 64-bit process and 32-bit nscd would lead to rejecting valid records in the database. | |||||
2009-05-16 | Move BLOCK_ALIGN* macros back. | Ulrich Drepper | 2 | -5/+5 | |
The move to nscd-client.h was only needed for some interim version of the patch. The final version doesn't need it. Undo the change. | |||||
2009-05-16 | Fix exit condition. | Ulrich Drepper | 1 | -1/+1 | |
The patch to bound the search in the nscd caches used a wrong exit condition. Fixed now. | |||||
2009-05-15 | Further robustify nscd database lookup. | Ulrich Drepper | 3 | -7/+8 | |
We can compute an absolute maximum for the number of elements which can fit into the currently mapped database. Stop after that many iterations. | |||||
2009-05-15 | Robustify libc-side nscd database reader. | Jakub Jelinek | 8 | -22/+41 | |
The nscd database mapped in processes can change at any time. We have to be more vigilant when it comes to using that memory. Test the data entries are valid in their entire size, don't read data again from memory once we verified it, and make sure the trailing pointer is not going off the deep end. | |||||
2009-05-15 | Don't try to cleanup libselinux and libaudit. | Jakub Jelinek | 3 | -20/+2 | |
Because we are not shutting down the other threads first another thread might work on a query before the process shuts down. In this case the now uninitialized libselinux and libaudit might be used. Just don't free the resources. It's not necessary anyway because the process is about to terminate. |