about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused cvs/fedora-glibc-20060426T2000Ulrich Drepper2006-04-261-0/+3
| | | | bugs not to be reported.
* * nscd/nscd.h (struct database_dyn): Add propagate field.Ulrich Drepper2006-04-261-0/+10
| | | | | | | | | * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. * nscd/nscd.conf: Add auto-propagate lines. * nscd/connections.c (dbs): Initialize .propagate fields. * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups and vice versa if propagation is disabled for the database. * nscd/pwdcache.c (cache_addpw): Likewise.
* 2006-04-26 James Antill <james.antill@redhat.com>Ulrich Drepper2006-04-261-0/+13
| | | | | | | | | | | | | | Ulrich Drepper <drepper@redhat.com> * config.make.in: Add have-libcap. * configure.in: Check for libcap. * nscd/Makefile (selinux-LIBS): Add -lcap if possible. * nscd/connections.c (finish_drop_privileges): When libcap is available call preserve_capabilities and install_real_capabilities. * nscd/selinux.c: Define preserve_capabilities and install_real_capabilities. * nscd/selinux.h: Declare preserve_capabilities and install_real_capabilities.
* * locale/iso-4217.def: Update.Ulrich Drepper2006-04-261-0/+4
|
* [BZ #2420]Ulrich Drepper2006-04-261-0/+5
| | | | | | * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. * localedata/Makefile: Add rules to build and run tst-strfmon1. * localedata/tst-strfmon1.c: New file.
* [BZ #2571]Ulrich Drepper2006-04-251-1/+7
| | | | | | | | | * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a volatile pointer so that the mapptr->mapped value is re-read after the lock is retrieved. * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack
* * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define toUlrich Drepper2006-04-251-0/+3
| | | | 200112L.
* * resolv/res_hconf.c: Minor surgery to 'cmd' and the referencedUlrich Drepper2006-04-251-0/+3
| | | | functions to avoid relocations.
* [BZ #2389]Ulrich Drepper2006-04-251-1/+6
| | | | | | | | * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. * resolv/res_hconf.h: Remove Name_Service definition. (struct hconf): Replace service related fields with placeholders. * version.h (VERSION): Bump to 2.4.90 for the trunk.
* [BZ #2386]Ulrich Drepper2006-04-251-1/+8
| | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stakc pointers to match other architectures. * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add tst-clone. * sysdeps/unix/sysv/linux/tst-clone.c: New file. malloc'ed wbuffer which isn't freed in error conditions.
* [BZ #2072]Ulrich Drepper2006-04-251-0/+4
| | | | | * stdio-common/printf_fp.c: Fix potential memory leaks for malloc'ed wbuffer isn't freed in error conditions.
* [BZ #2569]Ulrich Drepper2006-04-251-0/+8
| | | | | | | | | 2006-04-25 Ulrich Drepper <drepper@redhat.com> [BZ #2569] * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert call. * iconvdata/Makefile (tests): Add tst-iconv6. * iconvdata/tst-iconv6.c: New file.
* * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags cvs/fedora-glibc-20060425T0903Ulrich Drepper2006-04-241-0/+4
| | | | | field. * posix/tst-rfc3484-2.c (do_test): Likewise.
* * posix/tst-rfc3484.c: Include <ifaddrs.h> early.Ulrich Drepper2006-04-241-0/+3
| | | | * posix/tst-rfc3484-2.c: Likewise.
* * version.h (VERSION): Bunp to 2.4.90 for the trunk.Ulrich Drepper2006-04-241-0/+4
|
* * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init cvs/fedora-glibc-20060424T2027Ulrich Drepper2006-04-241-0/+5
| | | | if MALLOC_CHECK_ env var contains an empty string.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.Ulrich Drepper2006-04-241-0/+4
|
* * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): UseUlrich Drepper2006-04-241-0/+3
| | | | __LONG_LONG_PAIR macro.
* * posix/bits/unistd.h (__readlinkat_chk): New prototype.Ulrich Drepper2006-04-241-3/+17
| | | | | | | | | | | | | | | | | (__readlinkat_alias): New alias. (readlinkat): New inline function. * include/unistd.h (readlinkat): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add libc_hidden_def. * io/readlinkat.c (readlinkat): Likewise. * debug/readlinkat_chk.c: New file. * debug/Makefile (routines): Add readlinkat_chk. * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. * debug/tst-chk1.c (do_test): Add readlinkat tests. * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. code is possible. Move compatibility code in .text.compat section. over gaih array. There is only one function to call in the moment.
* * nis/nss_nisplus/nisplus-netgrp.c: Cleanups.Ulrich Drepper2006-04-241-2/+4
| | | | | * posix/regex.h: Remove obsolete <sys/types.h> comment and special code if possible. Move compatibility code in .text.compat section.
* [BZ #1951]Ulrich Drepper2006-04-231-0/+8
| | | | | | | | | 2006-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #1951] * sysdeps/posix/sigset.c (sigset): Return correct value reflecting previous signal state. * signal/Makefile (tests): Add tst-sigset2. * signal/tst-sigset2.c: New file.
* * argp/argp.h (__option_is_short): Check upper limit ofUlrich Drepper2006-04-221-0/+7
| | | | | | __key. isprint() requires its argument to have the value of an unsigned char or EOF. Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
* [BZ #2534, BZ #2535]Ulrich Drepper2006-04-211-0/+4
| | | | | * posix/regex.h: Remove obsolete <sys/types.h> and special handling for VMS.
* * iconvdata/ibm437.c: Define HAS_HOLES to 0.Ulrich Drepper2006-04-211-0/+9
| | | | | | | | * iconvdata/ibm861.c: Likewise. * iconvdata/ibm862.c: Likewise. * iconvdata/ibm863.c: Likewise. * iconvdata/ibm865.c: Likewise. Reported by <ash@contact.bg>.
* * include/ifaddrs.h: Get uint32_t definition.Ulrich Drepper2006-04-201-0/+4
| | | | | * posix/tst-rfc3484.c: Update fake __check_pf implementation. * posix/tst-rfc3484-2.c: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2006-04-191-0/+8
| | | | | | | __ASSUME_PROC_SELF_FD_SYMLINK. * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility code is possible. Move compatibility code in .text.compat section. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loopUlrich Drepper2006-04-181-0/+5
| | | | over gaih array. There is only on function to call in the moment.
* * include/ifaddrs.h: Define struct in6addrinfo.Ulrich Drepper2006-04-161-0/+18
| | | | | | | | | | | | | | | | | Add two more parameters to __check_pf. * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink interface, determine whether IPv6 addresses are deprecated or temporary. Create array of those addresses. * inet/check_pf.c: Always tell caller there are no depracated and temporary addresses. * sysdeps/posix/getaddrinfo.c: Pretty printing. (struct sort_result): Add source_addr_flags field. (rfc3484_sort): Implement rule 3 and 7. (in6aicmp): New function. (getaddrinfo): Call __check_pf also when we need info about IPv6 source addresses. When creating array for sorting addresses, look up deprecated and temporary addresses returned by __check_pf and add flag if necessary.
* * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6Ulrich Drepper2006-04-151-0/+5
| | | | | | mapped addresses. * posix/Makefile (tests): Add tst-rfc3484-2. * posix/tst-rfc3484-2.c: New file.
* * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):Ulrich Drepper2006-04-151-1/+3
| | | | | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
* * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):Ulrich Drepper2006-04-151-1/+3
| | | | | Significant cleanups. Correct adjustment for pointer array. Likewise.
* * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout.Ulrich Drepper2006-04-151-0/+1
|
* * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):Ulrich Drepper2006-04-151-1/+3
| | | | | Significant cleanups. Correct adjustment for pointer array Likewise.
* * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):Ulrich Drepper2006-04-151-1/+3
| | | | | * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Likewise.
* * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):Ulrich Drepper2006-04-151-0/+5
| | | | Significant cleanups. Correct adjustment for pointer array.
* * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.Ulrich Drepper2006-04-141-0/+11
| | | | | | | | | | | | * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent):Ulrich Drepper2006-04-141-0/+6
| | | | | | | Minor cleanups. NUL terminate name string. * nis/Versions: No need to export _nss_nisplus_parse_grent, _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent.
* * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent):Ulrich Drepper2006-04-141-0/+3
| | | | Avoid unnecessary allocation. Fix adjustment for pointer value.
* * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_*Ulrich Drepper2006-04-141-0/+3
| | | | macros. Avoid unnecessary allocation.
* * sysdeps/unix/sysv/linux/sync_file_range.c: New file.Ulrich Drepper2006-04-141-0/+4
|
* * nis/Makefile (libnsl-routimes): Add nss-default.Ulrich Drepper2006-04-141-0/+23
| | | | | | | | | | | | | | | | | | | | | | * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. * nis/nss-nis.c: Move /etc/default/nss handling to... * nis/nss-default.c: ...here. New file. * nis/libnsl.h: New file. * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss plus auxilary definitions. * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of _nis_default_nss. * nis/nss_nis/nis-service.c: Likewise. 2006-04-07 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/fpu/bits/mathinline.h [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. (__ieee754_sqrt): Fix comment. (__ieee754_sqrtf): Fix comment. * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. Check __CPU_HAS_FSQRT instead of dl_hwcap. * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
* * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD.Ulrich Drepper2006-04-091-0/+2
|
* * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid callingUlrich Drepper2006-04-091-0/+15
| | | | | | | | | | | | | | | | it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-initgroups.c: Likewise. * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise.
* * nis/nis_ping.c: Remove unnecessary conditionals beforeUlrich Drepper2006-04-081-0/+4
| | | | | nis_freeresult calls. * nis/nis_ismember.c: Likewise.
* * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.Ulrich Drepper2006-04-081-0/+3
| | | | Reported by genesh@comcast.net.
* * io/fts.c (fts_build): Call fts_lfree in the two error casesUlrich Drepper2006-04-081-0/+11
| | | | | | | | | | after the loop [Coverity CID 187]. * nis/nis_getservlist.c (nis_getservlist): Also free lookup result in error case [Coverity CID 189]. * nis/nis_getservlist.c (nis_getservlist): One more free call needed [Coverity CID 190].
* * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): RemoveUlrich Drepper2006-04-071-0/+5
| | | | unnecessary test for accu->linear == NULL [Coverity CID 79].
* * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_minUlrich Drepper2006-04-071-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | into a macro. Use preprocessor to decide how to initialize attempts [Coverity CID 67]. * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. * sunrpc/rpc_parse.c (def_union): Comment out dead code [Coverity CID 70]. * locale/programs/linereader.c (lr_token): Remove duplicate handling of EOF [Coverity CID 71]. * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: We bail out early if ignore_content is set, so there is no need to check it later again [Coverity CID 72]. * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, not tptrp [Coverity CID 73]. * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, not tptrp [Coverity CID 74]. * misc/tsearch.c (__tsearch): Don't rotate tree if memory allocation failed [Coverity CID 78].
* * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo inUlrich Drepper2006-04-071-1/+6
| | | | | | the last change. DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102].
* * inet/rexec.c (rexec_af): If we have no canonical name don'tUlrich Drepper2006-04-071-0/+8
| | | | | | | proceed further [Coverity CID 86]. * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, not to NULL [Coverity CID 88].