summaryrefslogtreecommitdiff
path: root/nscd
AgeCommit message (Collapse)Author
2005-07-21Updated to fedora-glibc-20050721T0814Jakub Jelinek
2005-06-272.3.90-1cvs/fedora-glibc-2_3_90-1Jakub Jelinek
2005-06-27Updated to fedora-glibc-20050627T0850Jakub Jelinek
2005-06-20Updated to fedora-glibc-20050620T1530Jakub Jelinek
2005-05-03Updated to fedora-glibc-20050503T0852Jakub Jelinek
2005-04-28Updated to fedora-glibc-20050428T0846Jakub Jelinek
2005-04-15Updated to fedora-glibc-20050415T0909cvs/fedora-glibc-2_3_5-1Roland McGrath
2005-03-19Updated to fedora-glibc-20050319T1907cvs/fedora-glibc-2_3_4-15Jakub Jelinek
2005-03-03Updated to fedora-glibc-20050302T1820Jakub Jelinek
2005-02-08Updated to fedora-glibc-20050208T0948cvs/fedora-glibc-2_3_4-6Jakub Jelinek
2004-12-17Updated to fedora-glibc-20041217T0906cvs/fedora-glibc-2_3_3-97Jakub Jelinek
2004-11-24Updated to fedora-glibc-20041124T0741cvs/fedora-glibc-2_3_3-84Jakub Jelinek
2004-11-10Updated to fedora-glibc-20041110T0839Jakub Jelinek
2004-10-18Updated to fedora-glibc-20041018T0940Jakub Jelinek
2004-10-06Updated to fedora-glibc-20041006T0900Jakub Jelinek
2004-10-052.3.3-65cvs/fedora-glibc-2_3_3-65Jakub Jelinek
2004-10-05Fix atomic.h warnings on i386 in nscd.Jakub Jelinek
Fix last grouplist patch.
2004-10-05Fix s390{,x} build. grouplist fixes from Ulrich.Jakub Jelinek
2004-10-05Updated to fedora-glibc-20041005T0745Jakub Jelinek
2004-10-04Updated to fedora-glibc-20041004T0747cvs/fedora-glibc-2_3_3-64Jakub Jelinek
2004-10-01Updated to fedora-glibc-20041001T2134cvs/fedora-glibc-2_3_3-63Jakub Jelinek
2004-09-30Updated to fedora-glibc-20040930T0838cvs/fedora-glibc-2_3_3-61Jakub Jelinek
2004-09-29Updated to fedora-glibc-20040929T0821Jakub Jelinek
2004-09-22Changes and additions migrated from cvs.devel.redhat.com:/cvs/devel/glibc to ↵Roland McGrath
fedora-branch
2004-09-20Update.Ulrich Drepper
2004-09-20 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (options): Mark S option as hidden. (parse_opt): When S option is used, print warning message. * nscd/grpcache.c (adgrptbyX): Don't handle secure mode. * nscd/hstcache.c (addhstbyX): Don't handle secure mode. * nscd/aicache.c (addhstaiX): Don't handle secure mode. * nscd/pwdcache.c (addpwbyX): Don't handle secure mode.
2004-09-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call callback to set IDs in all other threads as well. * sysdeps/unix/sysv/linux/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/setuid.c: New file. * sysdeps/unix/sysv/linux/setgid.c: New file. * sysdeps/unix/sysv/linux/setreuid.c: New file. * sysdeps/unix/sysv/linux/setregid.c: New file. * sysdeps/unix/sysv/linux/setresuid.c: New file. * sysdeps/unix/sysv/linux/setresgid.c: New file. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid and setresuid. * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise.
2004-09-17Update.Ulrich Drepper
2004-09-17 Jakub Jelinek <jakub@redhat.com> * nscd/nscd.c (parse_opt): Write arg string instead of (void *) key to the socket.
2004-09-17Update.Ulrich Drepper
2004-09-16 Ulrich Drepper <drepper@redhat.com> * configure.in: Add test for required SELinux features. * config.make.in: Add have-selinux entry. * config.h.in: Add HAVE_SELINUX entry. * nscd/Makefile (nscd-modules): Add selinux. (CFLAGS-selinux.c): Add -fpie. Define selinux-LIBS and use in link line. * nscd/connections.c (handle_request): Check access SELinux permissions before processing request. * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. * nscd/nscd_stat.c: Transmit and print AVC statistics. * nscd/selinux.c: New file. * nscd/selinux.h: New file. 2004-09-16 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap instead of munmap. * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. 2004-09-16 Thorsten Kukuk <kukuk@suse.de> * sysdeps/posix/getaddrinfo.c (gaih_inet): Check __nss_not_use_nscd_hosts variable if nscd should be used or not. 2004-09-16 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. Add __nscd_getai prototype. * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. * nscd/nscd-client.h: Remove __nscd_getai prototype. * nscd/nscd_getai.c: Include nscd_proto.h. * elf/ldd.bash.in: Add support for SELinux environments. Patch by Stephen Smalley <sds@epoch.ncsc.mil>.
2004-09-16iAdd __nscd_getai prototype.Ulrich Drepper
2004-09-15Update.Ulrich Drepper
* nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also get ttl and canonical name. Use these two values. * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns. * resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters. If nonnull fill with TTL and pointer to canonical name respectively. (_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r. (_nss_dns_gethostbyname2_r): Just wrapper around _nss_dns_gethostbyname3_r. (_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r. Take two new parameters which as passed to getanswer_r.
2004-09-15Update.Ulrich Drepper
2004-09-15 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (rountines): Add nscd_getai. (nscd-modules): Add aicache. * nscd/aicache.c: New file. * nscd/nscd_getai.c: New file. * nscd/cache.c (prune_cache): Handle GETAI request type. * nscd/connections.c: Add GETAI support in request handling. * nscd/nscd-client.h (request_type): Add GETAI. Define ai_response_header and struct nscd_ai_result types. (struct datahead): Add aidata field. Declare __nscd_getai. * nscd/nscd.c: Add getaddrinfo definition to catch problems. * nscd/nscd.h: Declare addhstai and readdhstai. * sysdeps/posix/getaddrinfo.c: Add support for using cached results. * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool.
2004-09-13Update.Ulrich Drepper
2004-09-13 Thorsten Kukuk <kukuk@suse.de> * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services. * nscd/nscd.init: Fix path to socket.
2004-09-13UPdate.Ulrich Drepper
* nscd/nscd_helper.c (get_mapping): Correctly check cmsg length. Avoid file descriptor leak in case of size mismatch.
2004-09-13Update.Ulrich Drepper
* nscd/mem.c (gc): Add casts to avoid warnings.
2004-09-13Update.Ulrich Drepper
* nscd/nscd-client.h: Fix database structure layout for biarch.
2004-09-12Update.Ulrich Drepper
2004-09-12 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/hstcache.c (cache_addhst): Likewise.
2004-09-12(cache_addhst): Sync also negative results to disk.Ulrich Drepper
2004-09-11Update.Ulrich Drepper
* nscd/connections.c (nscd_run): Call setup_thread only for enabled databases.
2004-09-10Update.Ulrich Drepper
2004-09-10 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (pagesize_m1): New variable. (main): Initialize it. * nscd/nscd.h: Declare pagesize_m1. * nscd/hstcache.c: Pass correctly aligned address to msync. * nscd/grpcache.c: Likewise. * nscd/pwdcache.c: Likewise.
2004-09-10Update.Ulrich Drepper
2004-09-10 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_stat.c: Improve output by also printing .shared and .persistent. * nscd/connections.c: Allow cache sharing to be really disabled.
2004-09-09 (CFLAGS-nscd_setup_thread.c): Set to -fpie.Andreas Jaeger
2004-09-08Update.Ulrich Drepper
* nscd/nscd-client.h: Add a few #includes.
2004-09-08* sysdeps/generic/nscd_setup_thread.c: New file.Ulrich Drepper
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
2004-09-08Update.Ulrich Drepper
Jakub Jelinek <jakub@redhat.com> * nscd/Makefile (nscd-modules): Add nscd_setup_thread. * nscd/connections.c (nscd_run): Call setup_thread for maintenance threads. * nscd/nscd-client.h (struct database_pers_head): Add nscd_certainly_running field. * nscd/nscd.h: Declare setup_thread. * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if nscd_certainly_running is nonzero. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
2004-09-08Update.Ulrich Drepper
* nscd/connections.c: Implement r/o sharing of nscd's cache with client processes via shared memory. * nscd/nscd-client.h: Likewise. * nscd/nscd.h: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_getgr_r.c: Likewise. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_gethst_r.c: Likewise. * nscd/nscd.conf: Add new config parameters. * nscd/Makefile (aux): Add nscd_helper. * nscd/nscd_helper.c: New file. * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. * nscd/hstcache.c: Simplify a lot. We cache only the request itself, no derived information. * connections.c (nscd_init): Fix bug in testing size of the persistent. * nis/Makefile (aux): Add nis_hash. * nis/nis_hash.c: New file. Split out from nis_util.c. * nis/nis_util.c: Move __nis_hash code in separate file. * csu/tst-atomic.c: Improve atomic_increment_val test which would not have found a ppc bug.
2004-09-05Update.Ulrich Drepper
2004-09-05 Ulrich Drepper <drepper@redhat.com> * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and GETHOSTBYADDRv6 requests.
2004-09-05Update.Ulrich Drepper
2004-09-04 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c (cache_addpw): Use correct key length in cache_add calls. * nscd/grpcache.c (cache_addgr): Likewise.
2004-09-05(cache_addgr): Use correct key length in cache_add calls.Ulrich Drepper
2004-09-03Update.Ulrich Drepper
2004-09-03 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (parse_opt): Use writev instead of two write for invalidate command.
2004-09-03(nscd_run): Check early for invalid request types.Ulrich Drepper