glibc/sysdeps/unix/sysv/linux
Ulrich Drepper 3a2c02424d Cache network interface information
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-31 01:51:16 -04:00
..
bits Define IP_MULTICAST_ALL 2011-09-15 18:09:53 -04:00
i386 Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations. 2011-09-15 12:26:08 -07:00
ia64 Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations. 2011-09-15 12:26:08 -07:00
net Add 802.15.4 definitions to header files. 2009-06-18 07:52:38 -07:00
netash
netatalk
netax25
neteconet
netinet
netipx
netiucv * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
netpacket
netrom
netrose
nfs
powerpc Remove the file< 2011-08-20 08:38:58 -04:00
s390 Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
scsi
sh Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
sparc Fix invalid conversion in __cmsg_nxthdr 2011-09-12 15:48:12 +02:00
sys Update ptrace constants 2011-07-23 19:10:18 -04:00
wordsize-64 Improve 64-bit build 2011-06-15 21:46:20 -04:00
x86_64 Conditionalize unnecessary #include. 2011-10-08 15:28:21 -07:00
Implies
Makefile Cache network interface information 2011-10-31 01:51:16 -04:00
Versions Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
_exit.c
a.out.h
accept.S
accept4.c Implement accept4 for more archs using socketcall. 2009-05-22 08:25:34 -07:00
adjtime.c * sysdeps/unix/sysv/linux/adjtime.c: Correctly use 2008-03-24 16:11:32 +00:00
aio_sigqueue.c
bind.S
check_native.c Quash two memset undeclared warnings. 2011-06-14 13:11:39 -07:00
check_pf.c Cache network interface information 2011-10-31 01:51:16 -04:00
clock.c
clock_getcpuclockid.c
clock_getres.c Add support for new clocks. 2010-03-25 04:01:33 -07:00
clock_gettime.c Don't unconditionally use clock_gettime vsyscall on x86-64 2011-09-06 21:34:11 -04:00
clock_nanosleep.c
clock_settime.c Add support for new clocks. 2010-03-25 04:01:33 -07:00
cmsg_nxthdr.c * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change 2008-01-16 19:47:17 +00:00
configure Prepend $(..) to $(ldd-rewrite-script) if non-absolute 2011-09-11 20:34:57 +02:00
configure.in Prepend $(..) to $(ldd-rewrite-script) if non-absolute 2011-09-11 20:34:57 +02:00
connect.S
device-nrs.h
dl-brk.c
dl-execstack.c
dl-fxstatat64.c Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
dl-getcwd.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
dl-librecon.h
dl-openat64.c Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
dl-opendir.c Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
dl-origin.c * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all 2008-08-14 17:11:07 +00:00
dl-osinfo.h Fix typo in stack guard setup code for old kernels 2011-05-31 14:23:01 -04:00
dl-sbrk.c
dl-sysdep.c Don't take the address of a void object. 2010-03-26 09:16:21 -07:00
dl-sysdep.h Don't declare _dl_discover_osversion only for older kernels. 2008-07-24 18:03:17 +00:00
dl-vdso.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
dl-vdso.h * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
epoll_pwait.c [BZ #4514] 2007-05-21 18:23:50 +00:00
errqueue.h
eventfd.c Compatibility of signalfd/eventfd with older kernels. 2009-07-26 12:55:03 -07:00
eventfd_read.c * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use 2007-10-09 03:56:53 +00:00
eventfd_write.c * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use 2007-10-09 03:56:53 +00:00
execve.c
exit-thread.S
faccessat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fallocate.c Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
fallocate64.c Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
fatal-prepare.h * sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the 2007-01-17 08:37:26 +00:00
fchmodat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fchownat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fcntl.c Fix F_GETOWN on some Linux archs. 2009-10-29 10:12:59 -07:00
fd_to_filename.h
fexecve.c
fpathconf.c Handle ext4 in {,f}pathconf 2011-07-07 10:53:16 -04:00
fstatfs64.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
fstatvfs.c
fstatvfs64.c
ftime.c
ftruncate64.c Remove doubled words. 2011-04-22 21:34:32 -04:00
futimens.c Handle AT_FDCWD in futimens. 2009-12-21 14:08:05 -08:00
futimes.c * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define 2007-05-28 16:43:59 +00:00
futimesat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fxstat.c
fxstat64.c
fxstatat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
fxstatat64.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
gai_sigqueue.c
getclktck.c
getcwd.c Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
getdents.c getdents64 fallback d_type support 2010-09-21 14:02:08 -07:00
getdents64.c
getdirentries.c
getdirentries64.c
getdtsz.c
gethostid.c
getipv4sourcefilter.c
getloadavg.c
getlogin.c Fix error handling in Linux getlogin*. 2010-06-19 09:54:28 -07:00
getlogin_r.c (__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL. 2010-08-06 19:18:05 -07:00
getpagesize.c Simplify malloc initialization 2011-09-10 21:47:36 -04:00
getpeername.S
getpriority.c
getpt.c Fix errno handling in posix_openpt. 2009-10-29 11:27:53 -07:00
getrlimit64.c Clean up PLT use for getrlimit64. 2011-01-13 16:21:04 -05:00
getsockname.S
getsockopt.S
getsourcefilter.c
getsysstats.c Avoid gettimeofday vsyscall 2011-09-06 20:22:37 -04:00
grantpt.c Avoid local PLTs. 2009-11-24 18:47:26 -08:00
if_index.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
ifaddrs.c Remove doubled words. 2011-04-22 21:34:32 -04:00
ifreq.c
init-first.c Optimize access to isXYZ and toXYZ tables 2011-10-15 16:27:08 -04:00
internal_accept4.S Implement accept4 for more archs using socketcall. 2009-05-22 08:25:34 -07:00
internal_recvmmsg.S Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
internal_sendmmsg.S Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
internal_statvfs.c Handle Lustre filesystem 2011-07-07 00:20:32 -04:00
internal_statvfs64.c
ipc_priv.h
kernel-features.h Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so 2011-09-06 00:12:18 -04:00
kernel-posix-cpu-timers.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldd-rewrite.sed
lddlibc4.c Don't treat bug reporting message as a format string. 2009-06-16 20:34:55 -07:00
ldsodefs.h Extended ELF ABI version handling only for Linux. 2010-03-16 23:34:59 -07:00
libc_fatal.c Use mmap for allocation of buffers used for __abort_msg 2011-05-15 00:34:48 -04:00
linkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
linux_fsinfo.h Handle Lustre filesystem 2011-07-07 00:20:32 -04:00
listen.S
llseek.c
local-setxid.h
lseek64.c
lutimes.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
lxstat.c
lxstat64.c
makedev.c
mkdirat.c Fix handling of missing syscall in Linux mkdirat. 2011-01-13 12:42:06 -05:00
mmap64.c Fix build of mmap64. 2010-03-31 14:07:39 -07:00
mq_close.c
mq_getattr.c
mq_notify.c
mq_open.c * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
mq_receive.c
mq_send.c
mq_unlink.c
msgctl.c
msgget.c
msgrcv.c
msgsnd.c
netlinkaccess.h
nice.c
not-cancel.h
nscd_setup_thread.c [BZ #5382] 2007-11-23 06:37:58 +00:00
ntp_gettime.c Update ntp_gettime for Linux. 2009-11-22 11:07:04 -08:00
ntp_gettimex.c Update ntp_gettime for Linux. 2009-11-22 11:07:04 -08:00
open64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
open64_2.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
open_2.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
openat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
openat64.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
opendir.c
opensock.c * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use 2008-07-25 18:16:57 +00:00
pathconf.c Fix missing include 2011-07-20 14:12:57 -04:00
pathconf.h Handle ext4 in {,f}pathconf 2011-07-07 10:53:16 -04:00
paths.h [BZ #9955] 2009-04-23 18:29:30 +00:00
poll.c
posix_fadvise.c
posix_fadvise64.c
posix_fallocate.c * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix 2007-07-31 19:33:23 +00:00
posix_fallocate64.c * sysdeps/posix/posix_fallocate64.c: Undefine 2007-07-28 18:13:45 +00:00
posix_madvise.c [BZ #3325] 2007-02-21 19:13:15 +00:00
ppoll.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
pread.c
pread64.c
preadv.c * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. 2009-04-23 22:52:24 +00:00
preadv64.c * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 2009-04-08 19:24:34 +00:00
prlimit.c Fix compilation 2010-08-14 13:19:25 +02:00
prof-freq.c
profil.c
pselect.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
ptrace.c
ptsname.c Fix kernel version check in recent ptsname change. 2009-12-09 08:34:48 -08:00
pwrite.c
pwrite64.c
pwritev.c * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. 2009-04-23 22:52:24 +00:00
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
readahead.c [BZ #5208] 2007-10-28 01:08:55 +00:00
readdir64.c
readdir64_r.c
readlinkat.c Fix typo in readlinkat 2009-10-30 14:18:18 +01:00
readonly-area.c
readv.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
reboot.c
recv.S
recvfrom.S
recvmmsg.c Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
recvmsg.S
remove.c Handle POSIX-compliant errno value of unlink in remove. 2010-04-04 02:08:37 -07:00
renameat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
sa_len.c * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
sched_getaffinity.c
sched_getcpu.c [BZ #4306] 2007-04-28 04:03:38 +00:00
sched_setaffinity.c * sysdeps/unix/sysv/linux/sched_setaffinity.c 2007-05-10 23:38:55 +00:00
segfault.c
semctl.c
semget.c
semop.c
semtimedop.c
send.S
sendmmsg.c Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
sendmsg.S
sendto.S
setegid.c
seteuid.c
setgid.c
setgroups.c Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
sethostid.c
setipv4sourcefilter.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit64.c Use prlimit64 for 32-bit [gs]etrlimit64 implementation. 2010-12-25 20:12:27 -05:00
setsockopt.S
setsourcefilter.c
setuid.c
shm_open.c (shm_open): Fix typo in last change. 2007-08-10 23:21:18 +00:00
shm_unlink.c
shmat.c
shmctl.c
shmdt.c
shmget.c
shutdown.S
sigaction.c
siglist.h
signal.c
signalfd.c Compatibility of signalfd/eventfd with older kernels. 2009-07-26 12:55:03 -07:00
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigstack.c
sigsuspend.c
sigtimedwait.c
sigwait.c
sigwaitinfo.c
sizes.h
sleep.c
socketcall.h Fix build for platforms with socketcall syscall 2011-05-28 13:18:57 -04:00
socketpair.S
speed.c
statfs64.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
statvfs.c
statvfs64.c
symlinkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
sync_file_range.c Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
syscalls.list Set setns system call 2011-05-28 00:53:13 -04:00
sysconf.c Fix sysconf compilation for !HP_TIMING_AVAIL archs 2011-05-23 11:51:12 -04:00
sysctl.c
syslog.c
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsetattr.c
tcsetpgrp.c
termio.h
testrtsig.h
time.c
times.c * nscd/Makefile (nscd-cflags): Set back to -fpie. 2008-04-22 15:53:59 +00:00
truncate64.c Remove doubled words. 2011-04-22 21:34:32 -04:00
tst-clone.c .. 2009-01-23 20:41:36 +00:00
tst-getcpu.c * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid. 2007-05-12 21:06:31 +00:00
ttyname.c Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
ttyname_r.c Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
ualarm.c
ulimit.c [BZ #6947] 2008-10-31 17:29:46 +00:00
umount.S
umount2.S
unlinkat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
unlockpt.c
updwtmp.c
usleep.c
ustat.c
utimensat.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
utimes.c
utmp_file.c
vfork.c
wait.c
wait3.c
waitid.c
waitpid.c
writev.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
xmknod.c
xmknodat.c Fix compat handling in *at functions. 2009-10-29 21:33:26 -07:00
xstat.c
xstat64.c
xstatconv.c * nscd/servicescache.c: Include kernel-features.h. 2007-08-13 18:33:31 +00:00
xstatconv.h