summaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)AuthorFilesLines
2009-11-14Fix building on x86 with older kernel headers.Mike Frsyinger2-0/+12
Fix building on x86 when older linux headers lack __NR_fallocate define.
2009-11-14Add support for new Linux error ERFKILL.Ulrich Drepper3-2/+14
2009-11-14Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper7-20/+20
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-24Add sysdeps/unix/syscall-template.S; build syscall stubs with deps and -g ↵Roland McGrath3-24/+115
pointing to it.
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-16Extend pt_chown to drop privileges.Ulrich Drepper1-1/+4
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.
2009-06-16Add missing include.Ulrich Drepper1-0/+1
2009-06-16Fold Linux-specific grantpt code into Unix version.Ulrich Drepper2-91/+19
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-16remove subsumed .gitignore entries and filesJim Meyering1-4/+0
2009-05-16remove COPYING* from .gitignore filesJim Meyering1-1/+1
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-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0