about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Further robustify nscd database lookup.Ulrich Drepper2009-05-151-0/+9
| | | | | | We can compute an absolute maximum for the number of elements which can fit into the currently mapped database. Stop after that many iterations.
* Robustify libc-side nscd database reader.Jakub Jelinek2009-05-151-8/+19
| | | | | | | | The nscd database mapped in processes can change at any time. We have to be more vigilant when it comes to using that memory. Test the data entries are valid in their entire size, don't read data again from memory once we verified it, and make sure the trailing pointer is not going off the deep end.
* Avoid double definition of catomic_compare_and_exchange_val_acq.Jakub Jelinek2009-05-151-0/+6
|
* ChangeLog entries incorrectly applied.Ulrich Drepper2009-05-151-0/+25
|
* Add test for range error in expm1.Ulrich Drepper2009-05-151-0/+2
|
* Check for valid stack frame in longjmp.Ulrich Drepper2009-05-151-0/+19
| | | | | | | If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.
* Version info change for 2.11 development.Ulrich Drepper2009-05-151-0/+2
|
* Test DSOs for executable stack.Ulrich Drepper2009-05-151-0/+5
| | | | | | Add a text program, built to run on the host, to check all newly built DSOs for executable stacks and fail if the stack information is missing or indicates executable stacks.
* * version.h (VERSION): Bump to 2.10.1. cvs/fedora-glibc-20090510T1842 cvs/masterUlrich Drepper2009-05-101-0/+16
| | | | | | | | | | | | | | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
* * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the glibc-2.10 cvs/glibc-2_10-base cvs/glibc-2_10 cvs/fedora-glibc-20090509T2200Ulrich Drepper2009-05-091-0/+3
| | | | same place we add ASFLAGS-config.
* * version.h (VERSION): Bump for 2.10 release. cvs/fedora-glibc-20090509T1828Ulrich Drepper2009-05-091-0/+5
| | | | * include/features.h (__GLIBC_MINOR__): Bump to 10.
* [BZ #10128]Ulrich Drepper2009-05-091-0/+6
| | | | | | | 2009-05-05 Aurelien Jarno <aurelien@aurel32.net> [BZ #10128] * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP or FORMERR and the other NOERROR, don't raise an error.
* [BZ #10118]Ulrich Drepper2009-05-091-0/+20
| | | | | | | | | | | | | | | | | | | | | 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
* * string/stratcliff.c (do_test): Test for zero lengthUlrich Drepper2009-05-091-0/+6
| | | | | STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy at the end of the page.
* * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper2009-05-091-0/+2
|
* * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper2009-05-091-1/+4
| | | | count is zero.
* * po/da.po: Update from translation team.Ulrich Drepper2009-05-081-0/+13
| | | | | | | | | | | 2009-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT and READ_IMPLIES_EXEC. 2009-05-04 Ulrich Drepper <drepper@redhat.com> * po/da.po: Update from translation team.
* * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper2009-05-071-0/+5
| | | | | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
* * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek2009-04-291-0/+5
| | | | | | | | | change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
* * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE cvs/fedora-glibc-20090427T1419Ulrich Drepper2009-04-271-0/+9
| | | | | | | | to MAP_ANON in PROT_NONE mmap64 call. (open_archive): Likewise. (file_data_available_p): Use mmap64 instead of mremap. (enlarge_archive): Likewise. Update head if ah->addr changed. Attempt to reserve address space after mmap64 region.
* * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper2009-04-271-0/+4
| | | | | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper2009-04-271-0/+3
| | | | atanh should set ERANGE.
* * inet/inet6_option.c (option_alloc): Add temporary variable toUlrich Drepper2009-04-271-1/+1
|
* [BZ #10087]Ulrich Drepper2009-04-271-0/+6
| | | | | | | * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access result of lookup to make call to implement STT_GNU_IFUNC. (_dl_profile_fixup): Likewise. Patch by H.J. Lu <hjl.tools@gmail.com>.
* * nscd/connections.c (send_ro_fd): Define temporary variable to avoidUlrich Drepper2009-04-261-0/+4
| | | | | | warning. * elf/sprof.c: Likewise.
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-261-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
* * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cachedUlrich Drepper2009-04-261-0/+5
| | | | function pointers.
* * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper2009-04-261-0/+4
|
* * posix/bits/posix1_lim.h: Cleanup namespace a bit.Ulrich Drepper2009-04-261-0/+2
|
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-0/+9
| | | | | | | | | | * sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper2009-04-261-0/+5
| | | | | | errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
* * math/w_fmod.c: Also handle x=±Inf as error.Ulrich Drepper2009-04-261-0/+6
| | | | | | | * math/w_fmodf.c: Likewise. * math/w_fmodl.c: Likewise. * math/libm-test.inc (fmod_test): Add tests for errno after calls for x=±Inf or y=0.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-261-0/+16
| | | | | | | | | | | | | | | | | * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
* * stdlib/strtod_l.c (round_and_return): We have to set errno toUlrich Drepper2009-04-251-0/+4
| | | | | ERANGE for underflows. * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE.
* * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX sinceUlrich Drepper2009-04-251-0/+3
| | | | the 2001 revision.
* for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper2009-04-251-4/+1
|
* * libio/tst-widetext.input: Remove surrogates.Ulrich Drepper2009-04-251-0/+2
|
* * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.Ulrich Drepper2009-04-251-0/+2
|
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper2009-04-251-0/+4
| | | | | for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
* * sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper2009-04-251-0/+5
| | | | this is the maximum UCS4 value.
* [BZ #10093] cvs/fedora-glibc-20090424T1908Ulrich Drepper2009-04-241-0/+4
| | | | | * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept UTF-16 surrogates.
* * locale/programs/locarchive.c (enlarge_archive): Conserve addressUlrich Drepper2009-04-241-0/+3
| | | | space when temporarily mapping the whole content of the old file.
* [BZ #10100]Ulrich Drepper2009-04-241-0/+6
| | | | | | | 2009-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #10100] * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is not zero.
* * iconvdata/sjis.c (BODY): Don't advance inptr beforeUlrich Drepper2009-04-241-0/+7
| | | | | | STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for two byte chars.
* * locale/locarchive.h (struct locarhandle): Rename len field toUlrich Drepper2009-04-241-0/+13
| | | | | | | | | | | | mmaped and add new reserved field. * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. (create_archive): Reserve address space and then map file into it. (open_archive): Likewise. (file_data_available_p): New function. (compare_from_file): New function. (close_archive): Adjust to member name changes. (add_locale): Before comparing locale data, check it is mapped. Otherwise fall back to reading from the file.
* * stdio-common/psiginfo.c: Include <errno.h>.Ulrich Drepper2009-04-241-0/+4
|
* [BZ #9920] cvs/fedora-glibc-20090424T0747Ulrich Drepper2009-04-241-0/+4
| | | | | * stdlib/random_r.c (__srandom_r): Change type of word to int32_t to get consistency between 32 and 64 bit architectures.
* [BZ #10052]Ulrich Drepper2009-04-241-0/+7
| | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #10052] * sysdeps/unix/make-syscalls.sh: Add rule to create target directory for dummy syscall rules. Patch by Chris Steinbroner <hesh@pobox.com>.
* [BZ #10092]Ulrich Drepper2009-04-241-0/+6
| | | | | | | 2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
* * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper2009-04-231-0/+17
| | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>