about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2006-04-26 James Antill <james.antill@redhat.com>Ulrich Drepper2006-04-268-4/+214
| | | | | | | | | | | | | | 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-269-13/+27
|
* [BZ #2420]Ulrich Drepper2006-04-266-23/+76
| | | | | | * 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-253-7/+15
| | | | | | | | | * 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-252-1/+4
| | | | 200112L.
* * resolv/res_hconf.c: Minor surgery to 'cmd' and the referencedUlrich Drepper2006-04-252-26/+35
| | | | functions to avoid relocations.
* [BZ #2389]Ulrich Drepper2006-04-254-122/+73
| | | | | | | | * 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-253-3/+14
| | | | | | | | | | * 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-252-7/+31
| | | | | * stdio-common/printf_fp.c: Fix potential memory leaks for malloc'ed wbuffer isn't freed in error conditions.
* [BZ #2569]Ulrich Drepper2006-04-254-3/+47
| | | | | | | | | 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-243-0/+9
| | | | | field. * posix/tst-rfc3484-2.c (do_test): Likewise.
* * posix/tst-rfc3484.c: Include <ifaddrs.h> early.Ulrich Drepper2006-04-243-0/+5
| | | | * posix/tst-rfc3484-2.c: Likewise.
* * version.h (VERSION): Bunp to 2.4.90 for the trunk.Ulrich Drepper2006-04-242-1/+5
|
* * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init cvs/fedora-glibc-20060424T2027Ulrich Drepper2006-04-242-2/+7
| | | | if MALLOC_CHECK_ env var contains an empty string.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.Ulrich Drepper2006-04-242-1/+5
|
* * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): UseUlrich Drepper2006-04-242-3/+7
| | | | __LONG_LONG_PAIR macro.
* * posix/bits/unistd.h (__readlinkat_chk): New prototype.Ulrich Drepper2006-04-249-5/+107
| | | | | | | | | | | | | | | | | (__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.
* [BZ #2349] cvs/fedora-glibc-20060424T0820Ulrich Drepper2006-04-242-2/+7
| | | | | | 2006-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #2349] * locales/de_CH: Change thousand separator to '.
* [BZ #2158]Ulrich Drepper2006-04-246-11/+289
| | | | | | | | | | 2006-01-17 Robert Millan <robertmh@gnu.org> [BZ #2158] * SUPPORTED: Add ca_AD, ca_FR and ca_IT variants. * locales/ca_AD: New file. * locales/ca_FR: New file. * locales/ca_IT: New file.
* [BZ #2134]Ulrich Drepper2006-04-243-0/+192
| | | | | * locales/pa_PK: New file. * SUPPORTED: Add pa_PK.UTF-8.
* [BZ #1974]Ulrich Drepper2006-04-247-113/+164
| | | | | | | | | | | | | | | | | | | | * locales/vi_VN: Fix int_frac_digits/frac_digits, abmon, mon, d_t_fmt, am_pm, and name_fmt. [BZ #1787] * locales/en_ZA: Updates. [BZ #1786] * locales/af_ZA: Updates. [BZ #1785] * locales/st_ZA: Updates and formatting changes. [BZ #1784] * locales/zu_ZA: Updates and formatting changes. [BZ #1783] * locales/xh_ZA: Updates and formatting changes.
* * nis/nss_nisplus/nisplus-netgrp.c: Cleanups.Ulrich Drepper2006-04-245-7/+297
| | | | | * 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-234-9/+211
| | | | | | | | | 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-222-2/+10
| | | | | | __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-212-10/+5
| | | | | * posix/regex.h: Remove obsolete <sys/types.h> and special handling for VMS.
* * iconvdata/ibm437.c: Define HAS_HOLES to 0.Ulrich Drepper2006-04-216-10/+19
| | | | | | | | * 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-204-2/+11
| | | | | * 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-194-22/+53
| | | | | | | __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-183-6/+45
| | | | over gaih array. There is only on function to call in the moment.
* * include/ifaddrs.h: Define struct in6addrinfo.Ulrich Drepper2006-04-166-39/+221
| | | | | | | | | | | | | | | | | 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-154-2/+133
| | | | | | 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-152-39/+43
| | | | | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
* * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):Ulrich Drepper2006-04-153-36/+43
| | | | | Significant cleanups. Correct adjustment for pointer array. Likewise.
* * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout.Ulrich Drepper2006-04-152-15/+18
|
* * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):Ulrich Drepper2006-04-152-33/+30
| | | | | Significant cleanups. Correct adjustment for pointer array Likewise.
* * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):Ulrich Drepper2006-04-152-33/+37
| | | | | * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Likewise.
* * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):Ulrich Drepper2006-04-152-44/+49
| | | | Significant cleanups. Correct adjustment for pointer array.
* * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.Ulrich Drepper2006-04-1411-1/+45
| | | | | | | | | | | | * 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-143-10/+17
| | | | | | | 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-143-22/+35
| | | | Avoid unnecessary allocation. Fix adjustment for pointer value.
* * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_*Ulrich Drepper2006-04-142-31/+28
| | | | macros. Avoid unnecessary allocation.
* * sysdeps/unix/sysv/linux/sync_file_range.c: New file.Ulrich Drepper2006-04-142-0/+50
|
* * nis/Makefile (libnsl-routimes): Add nss-default.Ulrich Drepper2006-04-1412-110/+182
| | | | | | | | | | | | | | | | | | | | | | * 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.
* * locales/cs_CZ (LC_TIME): Define week.Ulrich Drepper2006-04-105-2/+12
| | | | | | * locales/sk_SK (LC_TIME): Likewise. * locales/pl_PL (LC_TIME): Likewise. * locales/en_US (LC_TIME): Change week to 7;19971130;7.
* * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD.Ulrich Drepper2006-04-092-64/+7
|
* * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid callingUlrich Drepper2006-04-0922-503/+525
| | | | | | | | | | | | | | | | 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-085-12/+35
| | | | | nis_freeresult calls. * nis/nis_ismember.c: Likewise.
* * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.Ulrich Drepper2006-04-082-1/+4
| | | | Reported by genesh@comcast.net.
* * io/fts.c (fts_build): Call fts_lfree in the two error casesUlrich Drepper2006-04-083-2/+18
| | | | | | | | | | 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-072-2/+7
| | | | unnecessary test for accu->linear == NULL [Coverity CID 79].