glibc/sysdeps/unix
Ulrich Drepper ffb1b88282 * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only
when the lookup call failed.

	* nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock.
	Add prune_cond and wakeup_time.
	(CACHE_PRUNE_INTERNAL): Define.
	Update declarations of prune_cache and setup_thread.
	* nscd/connections.c (dbs): Update initializers.
	(CACHE_PRUNE_INTERNAL): Moved to nscd.h.
	(nscd_init): Default number of threads is now 4.
	(invalidate_cache): Take lock before calling prune_cache.
	(handle_request): If SELinux forbids the request, say so.
	(readylist_cond): Use static initializer.
	(nscd_run_prune): New function.  Used only by pruning threads.
	(nscd_run_worder): Renamed from nscd_run.  Remove support for pruning
	here.
	(fd_ready): Update nscd_run reference.
	(start_threads): No need to initialize readylist_cond.
	Start pruning threads separately.
	* nscd/nscd_setup_thread.c: Change return value type to int and always
	return 0.
	* sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type
	to int and return nonzero value if we can use the TID address hack.
	* nscd/cache.c (cache_add): If next wakeup time of cleanup thread for
	the database is later than the new entry's timeout, update the
	wakeup time and wake the cleanup thread.
	(prune_cache): Return seconds the next entry in the database is still
	valid.  Remove locking for pruning here.
	* nscd/nscd.conf: Document default number of threads.
2007-11-06 00:45:40 +00:00
..
alpha
bsd * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. 2007-10-11 16:32:14 +00:00
common
i386
inet
mman
powerpc
sh
sparc
sysv * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only 2007-11-06 00:45:40 +00:00
x86_64
_exit.S
alarm.c
clock_gettime.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
clock_nanosleep.c
clock_settime.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
closedir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
confstr.h
dirfd.c
dirstream.h * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. 2007-08-03 03:35:12 +00:00
errnos-tmpl.c
errnos.awk
execve.S
fdopendir.c
fork.S
fxstat.c
get_child_max.c
getdents.c
getegid.S
geteuid.S
getlogin_r.c
getlogin.c
getpagesize.c
getppid.S
grantpt.c
Implies
ioctls-tmpl.c
ioctls.awk
make-syscalls.sh
Makefile
mk-local_lim.c
mkdir.c
mkfifo.c
mkfifoat.c
nice.c * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use 2006-08-15 05:27:55 +00:00
opendir.c * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR 2007-08-04 17:21:20 +00:00
readdir_r.c
readdir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
rewinddir.c
rmdir.c
s-proto-bp.S
s-proto-cancel.S
s-proto.S
seekdir.c
setxid.h
siglist.c
snarf-ioctls
sockatmark.c
start.c
stime.c
Subdirs
syscall.S
syscalls.list
sysdep.h
system.c
telldir.c
time.c
utime.c
xmknod.c
xstat.c