summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2009-11-13Correct readahead syscall wrapper on powerpc32.Andreas Schwab
Due to alignment of 64bit parameters there is a dummy second argument. But other than that the syscall arguments are directly mapped to the function arguments. (cherry picked from commit 5b55d23611e939340d658f42212c474c8188053e)
2009-11-13Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek
As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not. (cherry picked from commit 34df851b3364e14133b865574dbc5f2a8b88874e)
2009-09-18Fix use of 64-bit insn in 32-bit memcpy for POWER6.Joshua W. Boyer
(cherry picked from commit a050d2a5e722876623a70d501c3cdfedfce8b5ce)
2009-09-18Stop backtrace when we make no more progress.Ulrich Drepper
(cherry picked from commit 2dec6007d183aa51abedbbb048382973129f3935)
2009-08-17Handle missing NSS modules and those without callbacks.Ulrich Drepper
getaddrinfo didn't update the status variable in that round of the loop if no callback was used. (cherry picked from commit 657317537c09b82a2feb1194fda045f63e3a1222)
2009-08-04Extend pt_chown to drop privileges.Ulrich Drepper
If libcap is available, use it to drop privileges in pt_chown before starting the work to change the permissions and ownership of the slave device. (cherry picked from commit f793b62438a3cfdbcc5ba453eebee1db3f315bea)
2009-07-29Implement accept4 for more archs using socketcall.Jakub Jelinek
So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs. (cherry picked from commit 1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c)
2009-07-29Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper
(cherry picked from commit aa7492d20e5a2cef54dab7b41f534048b3eca479)
2009-07-29remove subsumed .gitignore entries and filesJim Meyering
(cherry picked from commit edeabc047e56680a293c39992d227b4c430cc0a7)
2009-07-29remove COPYING* from .gitignore filesJim Meyering
(cherry picked from commit bb87237534eee688ad8c8eab10e433ae6238fc03)
2009-07-16Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper
(cherry picked from commit 339717d5f117d118750ec187b1779cafa349249e)
2009-07-16Fix wrong PPC_FEATURE_* values.Andreas Schwab
Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>. (cherry picked from commit 2123d5815eaaa53a772be4b6069bdc6332f2f491)
2009-07-16Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu
(cherry picked from commit 167d5ed5de0c6e587506b8a595fe0e4aa630bbb0)
2009-07-16Fix cfa offset for saved registers in PPC sqrt implementations.Andreas Schwab
(cherry picked from commit 3f241d758415e050269ebd9b3b909f3d007f89e5)
2009-07-16Add 802.15.4 definitions to header files.Ulrich Drepper
(cherry picked from commit d0a2af710654a038903dd4a300030670bfbeaa2d)
2009-06-18Fix x86-64 memchr for large lengths.Jakub Jelinek
(cherry picked from commit fab8238de69de67637d21923b3ec1c26e4ce8450)
2009-06-18Fix incorrect use of cmpldi in 32-bit PPC code.Ryan S. Arnold
The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi. BZ #10107 (cherry picked from commit 25bfbb9e0e610afaf6b67e5ee1a1a5338018c42e)
2009-06-16Fix permission of slave device on devpts if necessary.Ulrich Drepper
If devptr is misconfigured the slave device permission after grantpt might not be 0620. BZ #10166 (cherry picked from commit 292e3abebff9f94ca47c1a725a691cb6ed6cff5f)
2009-06-05Add missing file from accept4 commit.Ulrich Drepper
Hidden by previous .gitignore content. (cherry picked from commit fd469aac31dc09f1328c8c4b976f887ebd592c56)
2009-06-05Fix errno for boundary conditions in 128-bit long double.Ulrich Drepper
Similar to the changes which went already in for the other formats, follow POSIX rules for errno. (cherry picked from commit 7f3394bdf34e28b374e5569a7a74ddac734fb172)
2009-05-22Fix errno for IBM long double.Andreas Schwab
After the last addition to the math test suite PPC routines haven't been adjusted so far. (cherry picked from commit 38ae768d88c47dd06030104eb3376212b0d8d164)
2009-05-22Fix IA-64 memchr read-ahead.Ulrich Drepper
The latest stratcliff extension exposed a bug in the IA-64 memchr which uses non-speculative loads to prefetch data. Change the code to use speculative loads with appropriate fixup. Fixes BZ 10162. (cherry picked from commit fa64b7f76b97930cd2aaf7bfd305cac3d925cd8f)
2009-05-22Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper
(cherry picked from commit 3533b1a6a6a6b7e350b7a9459f8152b1f9f0364a)
2009-05-22Remove __NR_accept4 definition.Jakub Jelinek
This definition was meant to be removed before the checkin. It was used in the development. (cherry picked from commit d14eda9310125ddf8fe66df01bbe46ab7d226a5e)
2009-05-22Correct socketcall argument for accept4.Jakub Jelinek
The header had the old name (paccept). (cherry picked from commit a2292378d0d629c26edfae6b197efbdb362a7094)
2009-05-22rename each .cvsignore file to .gitignoreJim Meyering
(cherry picked from commit 2e180a26222caf478f29e272c9d1b5d9c6299752)
2009-05-10Update from trunk.Ulrich Drepper
2009-05-09[BZ #10118]Ulrich Drepper
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.
2009-05-09* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper
2009-05-09* sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper
count is zero.
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-04-29* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek
change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
2009-04-27* sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2009-04-27* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper
atanh should set ERANGE.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper
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.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-26* sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper
2009-04-26* sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper
* 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.
2009-04-26* sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper
errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
2009-04-26* sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper
* 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.
2009-04-25for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper
2009-04-25* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper
for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
2009-04-25* sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper
this is the maximum UCS4 value.
2009-04-24[BZ #10052]Ulrich Drepper
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>.
2009-04-24[BZ #10092]Ulrich Drepper
2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
2009-04-23* sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper
* 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>
2009-04-23[BZ #9955]Ulrich Drepper
2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
2009-04-23* stdio-common/printf.h: Add missing const to register_printf_modifier.Ulrich Drepper
* stdio-common/reg-modifier.c: Likewise. 2009-04-22 Andrew Stubbs <ams@codesourcery.com> * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there is no FPU.
2009-04-21* sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper
headers up to 2.6.30.
2009-04-18* sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper
architectures have preadv/pwritev in 2.6.30.