This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc ./ChangeLog nscd/nscd-client.h nscd/nscd_ ...
- From: jakub at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 31 Jan 2007 09:14:21 -0000
- Subject: libc ./ChangeLog nscd/nscd-client.h nscd/nscd_ ...
CVSROOT: /cvs/glibc
Module name: libc
Changes by: jakub@sourceware.org 2007-01-31 09:14:21
Modified files:
. : ChangeLog
nscd : nscd-client.h nscd_getai.c nscd_getgr_r.c
nscd_gethst_r.c nscd_getpw_r.c nscd_getserv_r.c
nscd_helper.c nscd_initgroups.c
Log message:
* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage. If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&r1=1.10494&r2=1.10495
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd-client.h.diff?cvsroot=glibc&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_getai.c.diff?cvsroot=glibc&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_getgr_r.c.diff?cvsroot=glibc&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_gethst_r.c.diff?cvsroot=glibc&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_getpw_r.c.diff?cvsroot=glibc&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_getserv_r.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_helper.c.diff?cvsroot=glibc&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd_initgroups.c.diff?cvsroot=glibc&r1=1.11&r2=1.12