summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2006-09-09[BZ #1006]Ulrich Drepper
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Ensure relocation doesn't clobber any bits outside of the immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, R_SPARC_HI22 and R_SPARC_H44.
2006-09-07[BZ #3155]Ulrich Drepper
2006-09-07 Jakub Jelinek <jakub@redhat.com> [BZ #3155] * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access stack below r1. * posix/regex_internal.c (re_string_reconstruct): Handle offset < pstr->valid_raw_len && pstr->offsets_needed case. Ensure no bytes read before raw_mbs array. Pass a saved copy of pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to re_string_context_at. * posix/Makefile: Add rules to build and run bug-regex26 test. * posix/bug-regex26.c: New test. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so.
2006-08-30* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offinUlrich Drepper
and offout arguments to the prototype. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string.
2006-08-24* sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefinedUlrich Drepper
symbol require exact match (these are PLTs). * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h (_dl_ppc64_addr_sym_match): Likewise.
2006-08-24[BZ #2683]Ulrich Drepper
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2683] * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. If symbol has a value use it. * elf/tst-dladdr1.c: New file. * elf/Makefile: Add rules to build and run tst-addr1.
2006-08-24[BZ #2734]Ulrich Drepper
2006-08-24 Ulrich Drepper <drepper@redhat.com> [BZ #2734] * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions as in the x86-64 code to use bswap.
2006-08-21[BZ #3040]Ulrich Drepper
2006-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #3040] * sysdeps/unix/sysv/linux/openat.c: Fix compilation if __ASSUME_ATFCTS is defined.
2006-08-15* sysdeps/unix/sysv/linux/clock_settime.c (INTERNAL_VSYSCALL): Usecvs/fedora-glibc-20060815T2033Ulrich Drepper
HAVE_CLOCK_GETRES_VSYSCALL as guard macro rather than HAVE_CLOCK_GETTIME_VSYSCALL. (maybe_syscall_settime_cpu): Use plain INTERNAL_VSYSCALL here.
2006-08-15* sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Usecvs/fedora-glibc-20060815T0533Ulrich Drepper
sysdeps/posix/pause.c implementation instead. 2006-08-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority to EPERM.
2006-08-14* sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve):Ulrich Drepper
Don't clobber caller's LRSAVE. (_dl_prof_resolve): Likewise.
2006-08-13[BZ #2832, BZ #2987]Ulrich Drepper
2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> [BZ #2832] * math/gen-libm-test.pl (clean_up_number): Do not remove trailing 0s from integers. 2006-08-13 Ulrich Drepper <drepper@redhat.com> [BZ #2987] * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall for CPU clocks. * sysdeps/unix/clock_settime.c: Add support for platform-specific setting of CPU clocks.
2006-08-12[BZ #2841]Ulrich Drepper
2006-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #2841] * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result to promote to 'int' when uint_least8_t and uint_least16_t promote to 'int'.
2006-08-08* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect withUlrich Drepper
__USE_GNU.
2006-08-08* stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab,Ulrich Drepper
__strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. (DEF): Don't put the var into .gnu.linkonce.r.* section. Only provide var definitions in strtol_l (or for *ull* in strtoll_l). * stdio-common/bug16.c (tests): New array. (do_tests): Allow the first hexadecimal digit to be 1, 2, 4 or 8. Do 3 additional tests. * sysdeps/s390/fpu/libm-test-ulps: Update. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use fchownat syscall if available. * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array.
2006-08-03[BZ #2883]Ulrich Drepper
* sysvipc/sys/msg.h: Change return value to ssize_t. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2006-08-03Don't define OLD_HOSTIDFILE and don't try to open it. The patch introducing ↵Ulrich Drepper
the macro contained a bug and used the same file name as the new file instead of using /var/adm/hostid. Nobody complaint so I'm taking this out completely.
2006-08-01* sysdeps/unix/sysv/linux/syscalls.list: Remove add_key,Ulrich Drepper
request_key, keyctl.
2006-08-01* sysdeps/unix/sysv/linux/Versions: Finally add add_key,Ulrich Drepper
request_key, and keyctl back.
2006-08-01* sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include.Ulrich Drepper
that the directory is empty even on non-POSIX filesystems.
2006-07-31* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed.cvs/fedora-glibc-20060731T0706Roland McGrath
* sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. (nanosleep_not_cancel): New macro. (sigsuspend_not_cancel): new macro. * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] (do_sigsuspend): Define as inline. (__sigsuspend): Always use do_sigsuspend. [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. * include/signal.h: Declare __sigsuspend_nocancel. * sysdeps/posix/pause.c [! NO_CANCELLATION] (__pause_nocancel): New function. * include/unistd.h (__pause_nocancel): Add attribute_hidden. * include/time.h (__nanosleep_nocancel): Likewise.
2006-07-29* sysdeps/unix/sysv/linux/kernel-features.h: Definecvs/fedora-glibc-20060729T2255Ulrich Drepper
__ASSUME_FUTEX_LOCK_PI. * include/time.h: Declare __nanosleep_nocancel. * include/unistd.h: Declare __pause_nocancel.
2006-07-26Update.Ulrich Drepper
2006-07-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. * 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.
2006-07-10* elf/dl-lookup.c (dl_new_hash): New functions.cvs/fedora-glibc-20060710T2206Ulrich Drepper
(_dl_lookup_symbol_x): Rename hash to old_hash and don't compute value here. Compute new-style hash value. Pass new hash value and reference to variable with the old value to do_lookup_x. (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not old-style hash table. (_dl_debug_bindings): Pass new hash value and reference to variable with the old value to do_lookup_x. * elf/do-lookup.h (do_lookup_x): Accept additional parameter with new-style hash value and change old-style hash value parameter to be a reference. Reoganize functions to determine whether new-style hash table is available. Only fall back on old-style table. If old-style hash value is needed, compute it here. * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH entry. * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT. Adjust DT_ADDRNUM. * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. * Makeconfig: If linker supports --hash-style option add it to all linker command lines to build DSOs. * config.make.in: Define have-hash-style. * configure.in: Test whether linker supports --hash-style option. * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. * sysdeps/generic/ldsodefs.h: Adjust prototype.
2006-06-04* sysdeps/posix/spawni.c (__spawni): Use local_seteuid andUlrich Drepper
local_setegid instead of seteuid and setegid. * sysdeps/generic/local-setxid.h: New file. * sysdeps/unix/sysv/linux/local-setxid.h: New file.
2006-06-04* sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces.Ulrich Drepper
2006-05-30* sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits inUlrich Drepper
the correct place. copying. No need to allocate new array for group members. Just
2006-05-19* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sureUlrich Drepper
no uninitialized memory is passed to sendto.
2006-05-18* sysdeps/posix/getaddrinfo.c: Add unique labels to the defaultUlrich Drepper
RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local and ULA respectively). Set precedence for IPv4 address to 10 as defined in RFC3484 for preferring IPv6. * posix/gai.conf: Update to match the new default tables.
2006-05-17* sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE,Ulrich Drepper
IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD.
2006-05-15* include/rpc/key_prot.h: Maek all _internal functions as hidden.Ulrich Drepper
* include/rpc/auth.h: Mark xdr_des_block_internal and xdr_opaque_auth_internal as hidden. * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as hidden. * include/rpc/xdr.h: Make all _internal functions as hidden. * sunrpc/pmap_rmt.c: Declare xdr_rmtcall_args_internal as hidden.
2006-05-15* resolv/res_debug.c (loc_ntoa): Make error const.Ulrich Drepper
2006-05-14 Andreas Schwab <schwab@suse.de> * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. 2006-05-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than sizeof (cpu_set_t).
2006-05-10* sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only storeUlrich Drepper
results if the call was succesful.
2006-05-10* posix/wordexp.c: Remove numerous NULL pointer tests before FREEUlrich Drepper
calls.
2006-05-10* posix/wordexp.c (w_addword): Free word if realloc fails and itUlrich Drepper
was allocated here. [Coverity CID 219] * posix/getconf.c (print_all): Free confstr data after printing. [Coverity CID 218] * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if list allocation fails. [Coverity CID 215] * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. [Coverity CID 213] * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if string is NULL. [Coverity CID 212] * argp/Makefile: Add rules to build and run bug-argp1. * argp/bug-argp1.c: New file. * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find end of string. * stdlib/canonicalize.c (__realpath): Likewise. * locale/programs/ld-time.c (time_finish): Don't dereference NULL pointer. [Coverity CID 206] * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map in statically linked code. * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in statically built code, be prepared to have no link map. [Coverity CID 205] * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in dgettext calls. [Coverity CID 204] * argp/argp-help.c (struct uparams): Remove valid member. Change the one user. (uparam_names): Reduce size. Avoid relative relocations. Moved to read-only segment. (fill_in_uparams): Update for new layout. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be assumed to always be != NULL. [Coverity CID 202] * argp/argp-help.c (hol_entry_help): Remove some dead code [Coverity CID 200]. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize away a few more unconditional yperr2nss calls. (_nss_nis_getservbyname_r): Likewise.
2006-05-07* sysdeps/generic/ldsodefs.h: Remove support for non-coreUlrich Drepper
architectures.
2006-05-06,Ulrich Drepper
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure that unused memory passed to sendto is nevertheless initialized.
2006-05-05* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.Ulrich Drepper
* 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.
2006-05-05* sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocationUlrich Drepper
by a GOT relocation to make Scrt1.o position independent. * sysdeps/s390/s390-64/elf/start.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for six system call parameters. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2006-05-04* sysdeps/posix/getaddrinfo.c: Implement configuration fileUlrich Drepper
handling. /etc/gai.conf can contain replacements for the label and precedence table. Fix byte order of default label and precedence table. * posix/gai.conf: New file. * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. * posix/tst-rfc3484-2.c: Likewise.
2006-05-02* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2006-05-02* misc/tsearch.c (__tdelete): Remove unnecessary testUlrich Drepper
[Coverity CID 75]. * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error message for invalid DWARF data instead of crashing.
2006-04-30* posix/Makefile (tests): Add tst-getaddrinfo3.Ulrich Drepper
* posix/tst-getaddrinfo3.c: New file. * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test for better readability.
2006-04-27[BZ #1386]Ulrich Drepper
* iconvdata/ibm932.c: Change mapping to allow round-trips. * iconvdata/ibm943.c: Likewise. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
2006-04-27Allow inclusion from <fcntl.h>.Ulrich Drepper
2006-04-26* sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.Ulrich Drepper
* sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. * 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. * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.
2006-04-26Fix a typo in a comment.Ulrich Drepper
2006-04-26* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which causedcvs/fedora-glibc-20060426T2000Ulrich Drepper
bugs not to be reported.
2006-04-25[BZ #2389]Ulrich Drepper
* 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.
2006-04-25[BZ #2386]Ulrich Drepper
* 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.
2006-04-24* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.Ulrich Drepper