summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
AgeCommit message (Collapse)AuthorFilesLines
2009-11-06Correct readahead syscall wrapper on powerpc32.Andreas Schwab1-0/+3
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.
2009-11-06Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek7-14/+14
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.
2009-10-30Fix typo in readlinkatAndreas Schwab1-1/+1
2009-10-29Fix IA-64 and S390 sigevent definitions.Ulrich Drepper2-4/+12
2009-10-29Fix compat handling in *at functions.Ulrich Drepper18-18/+132
When passed an empty string for the filename, the compat code using /proc in all *at functions did the wrong thing.
2009-10-29Fix errno handling in posix_openpt.Andreas Schwab1-2/+5
The implementation of posix_openpt on Linux can fail in a few extra ways if the appropriate pseudo filesystems are not mounted etc. In some of these cases we have to explicitly set errno.
2009-10-29Fix getttyname on Linux when called for different devices.Ulrich Drepper1-1/+6
If a second call to ttyname is not for the same type of device (e.g., serial vs ptty) the prefix of the buffer was wrong. Don't rely on the previous content, always reinitialize it.
2009-10-29Fix F_GETOWN on some Linux archs.Ulrich Drepper3-5/+71
The syscall conventions on some Linux archs prevented F_GETOWN from working correctly in some situations. This can be rectified when using the new F_GETOWN_EX command.
2009-10-29Define F_OWNER_* and f_owner_ex for Linux targets.Ulrich Drepper7-7/+126
2009-10-14Add ____longjmp_chk for sparcDavid S. Miller2-0/+184
tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because of some limitations of kernel signal delivery on sparc that I need to fix, it has nothing to do with the longjmp_chk implementation. (The problem with tst-longjmp_chk2 is that it tries to do a stack fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel will refuse to setup the signal stack and deliver the signal if the register windows can't be written out to the stack first)
2009-10-01Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper7-14/+28
2009-09-15configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2-141/+107
2009-09-08Fix __longjmp_chk on s390/s390x.Jakub Jelinek2-0/+110
s390/s390x hasn't been updated to handle alternate stacks properly.
2009-08-22Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab2-0/+154
2009-08-02Remove leftover code from Linux/x86 ____longjmp_chk.Ulrich Drepper1-6/+0
2009-08-01Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64.Ulrich Drepper1-1/+1
2009-07-31Optimize x86 and x86-64 ____longjmp_chk for Linux.Ulrich Drepper2-117/+50
2009-07-31Fix ____longjmp_chk on x86-64.Ulrich Drepper1-2/+2
After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location.
2009-07-31Support multiarch for i686.H.J. Lu1-0/+1
This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later.
2009-07-30Whitespace cleanup.Ulrich Drepper1-2/+2
2009-07-30Add sigstack handling to Linux ____longjmp_chk on i386.Ulrich Drepper1-0/+143
All other i386 ports need to provide their own versions.
2009-07-30____longjmp_chk is now OS-specific.Ulrich Drepper1-0/+145
We use sigaltstack internally which on some systems is a syscall and should be used as such. Move the x86-64 version to the Linux specific directory and create in its place a file which always causes compile errors.
2009-07-26Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper3-6/+26
2009-07-24Don't automatically use /lib/modules/* headers.Ulrich Drepper2-24/+0
Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups.
2009-07-23Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper1-0/+3
The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
2009-07-23Preserve stack alignment in i386 makecontext.Ulrich Drepper1-6/+4
2009-07-10Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper1-2/+2
2009-06-18Add 802.15.4 definitions to header files.Ulrich Drepper3-5/+21
2009-06-16Don't treat bug reporting message as a format string.Andreas Schwab1-2/+2
2009-06-16Fold Linux-specific grantpt code into Unix version.Ulrich Drepper1-88/+0
2009-06-15Fix permission of slave device on devpts if necessary.Ulrich Drepper1-3/+10
If devptr is misconfigured the slave device permission after grantpt might not be 0620. BZ #10166
2009-06-15Preserve message printed before abort.Ulrich Drepper1-1/+17
The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
2009-05-31Add missing file from accept4 commit.Ulrich Drepper1-0/+1
Hidden by previous .gitignore content.
2009-05-29Compact cache info data structure for x86/x86-64.Ulrich Drepper1-78/+78
This saves about 1.5kB in the DSO.
2009-05-22Implement accept4 for more archs using socketcall.Jakub Jelinek4-4/+63
So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
2009-05-21Add missing file from previous IA-64 longjmp commit.Ulrich Drepper1-0/+48
2009-05-21Add ____longjmp_chk support for IA-64.H.J. Lu1-1/+9
2009-05-21Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper1-1/+1
2009-05-21Remove __NR_accept4 definition.Jakub Jelinek1-3/+1
This definition was meant to be removed before the checkin. It was used in the development.
2009-05-21Correct socketcall argument for accept4.Jakub Jelinek1-2/+2
The header had the old name (paccept).
2009-05-15Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek9-3/+24
Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
2009-05-10* version.h (VERSION): Bump to 2.10.1.Ulrich Drepper1-0/+1
* 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.
2009-05-09[BZ #10118]Ulrich Drepper4-8/+0
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 Drepper1-0/+5
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper1-0/+2
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 Jelinek1-2/+2
change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper1-1/+1
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 Drepper2-0/+4
Avoid warning by using may_alias attribute on ptrhack.
2009-04-24[BZ #10092]Ulrich Drepper1-1/+5
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 Drepper2-8/+12
* 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>