about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
Commit message (Collapse)AuthorAgeFilesLines
* Define MADV_HUGEPAGE.Ulrich Drepper2011-02-037-7/+15
| | | | (cherry picked from commit 32465c3ea007065acd8ca8199f130cdf4068130d)
* Add definitions for new socket protocols.Ulrich Drepper2011-02-032-6/+14
| | | | (cherry picked from commit a77e8cbc394ab098aa1fc3f0a6645a38348d21ca)
* Fix handling of missing syscall in Linux mkdirat.Ulrich Drepper2011-02-031-2/+2
| | | | (cherry picked from commit 1086d70d916fd0eb969b3d89ff88abd35f6a5c34)
* sparc64: Use i386 implementation for fxstat.David S. Miller2011-02-031-1/+1
| | | | | | | This was simply missed when Jakub converted all of the other sparc64 xstat cases. (cherry picked from commit 16c2895feabae0962e0eba2b9164c6a83014bfe4)
* More accurate computatin of reclen in readdir_r.Ulrich Drepper2011-02-031-0/+1
| | | | | | | | Alignment issue can increase the reclen limit. Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment in getdents. (cherry picked from commit db753e2cfb2051ebf20dc089f87c5b1297cc2cff)
* Properly convert f_fsid in statvfsAndreas Schwab2010-11-201-1/+2
| | | | (cherry picked from commit c21cc9bcb38a87ff638d1099ca871d94a2192b31)
* Define MAP_HUGETLB.Ulrich Drepper2010-11-202-2/+5
| | | | (cherry picked from commit cf7c9078a5acdbb435498ace92cd81009637a971)
* Define SWAP_FLAG_DISCARD.Ulrich Drepper2010-11-201-1/+2
| | | | (cherry picked from commit a1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc)
* Update sparc epoll.h from epoll_create2 to epoll_create1Mike Frysinger2010-11-151-4/+5
| | | | (cherry picked from commit fdc0c10d9b5c39ec20c35d2f3808d3c70cb7f60b)
* Linux getifaddrs might return entries with ->ifa_addr being NULL.Ulrich Drepper2010-11-091-5/+8
| | | | (cherry picked from commit 1751705d1c4e8b7aba391391d1d8d88fe8c9d8b8)
* getdents64 fallback d_type supportJoseph Myers2010-11-091-1/+5
| | | | (cherry picked from commit 1ac7a2c7b448c851eb8976fcc290a906a4075203)
* Fix _FORITY_SOURCE version of longjmp for Linux/x86-64.Chung-Lin Tang2010-11-091-11/+15
| | | | (cherry picked from commit c044aa75354b48d4b7aaffe465706282192e54c2)
* Fix typo in x86-64 epoll.h.Mike Frysinger2010-11-091-2/+2
| | | | (cherry picked from commit e53a31fe575dcfd0dceb9f316d673de34d39abad)
* Verify in ttyname() that the symlink is valid.Miklos Szeredi2010-11-092-10/+55
| | | | (cherry picked from commit 0e516e0e14f2f9783a21cd1727bc53776341f857)
* Fix iov[] size in SH register_dump()Takashi Yoshii2010-05-311-2/+2
| | | | (cherry picked from commit d2f73151763c27173d9a771cea722380d7fc61c2)
* Fix fallocate error return on i386.Andreas Schwab2010-05-122-2/+14
| | | | (cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)
* Handle unnecessary padding in getdents64.Ulrich Drepper2010-05-121-1/+2
| | | | | | | | The getdents64 syscall adds on 32-but platforms padding which isn't needed and not included in the userlevel data structure definition. We have to avoid copying those padding bytes in the readdir64_r function. (cherry picked from commit 1a81139728494810f65aaa0d0c538ff8c2783dd5)
* Fix changes to interface list during getifaddrs calls.Ulrich Drepper2010-05-121-12/+43
| | | | (cherry picked from commit b8b14c4cc38883032b8ebae50c9a8b3efd256483)
* Fix ____longjmp_chk for s390/s390x.Andreas Schwab2010-05-122-2/+2
| | | | (cherry picked from commit e3b7670be21d6992e3ca9ee1ad3a5d08eb3a24c9)
* Remove incorrect paring of /proc/stat etc.Ryan S. Arnold2010-05-101-13/+1
| | | | (cherry picked from commit 3ed8e241229e370cca96650ed727f09838c51d67)
* Avoid local PLTs.Ulrich Drepper2009-12-041-3/+3
| | | | (cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)
* Prevent unintended file desriptor leak in grantpt.Ulrich Drepper2009-12-041-0/+42
| | | | | | | | | | | The pt_chown program is completely transparently called. It might not be able to live with the various file descriptors the program has open at the time of the call (e.g., under SELinux). Close all but the needed descriptor and connect stdin, stdout, and stderr with /dev/null. pt_chown shouldn't print anything when called to do real work. (cherry picked from commit 139ee080b6b428240bf49f3e6361f3ac729f891a)
* Fix sync_file_range on ppc/ppc64.Jakub Jelinek2009-11-192-1/+53
| | | | | | | | I've noticed that sync_file_range is a stub on ppc/ppc64. The kernel on these arches provides sync_file_range2 syscall with swapped parameters. The following completely untested patch ought to fix this. (cherry picked from commit 8ad81b316bc158746aee18aa7d7df44d3eb61871)
* Avoid warnings in CPU_* macros when using const bitsets.Ulrich Drepper2009-11-191-6/+6
| | | | (cherry picked from commit 03ebadd9eaa4663f58bd3fa6fe8283f255925632)
* Add missing Linux MADV_* definitions.Ulrich Drepper2009-11-187-64/+89
| | | | (cherry picked from commit 2866eeb1b70c989591293d37ae292e71def16775)
* Fix building on x86 with older kernel headers.Mike Frsyinger2009-11-182-0/+12
| | | | | | Fix building on x86 when older linux headers lack __NR_fallocate define. (cherry picked from commit f9a7bd536e0b1693db32e1330bbd96108ca63c42)
* Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper2009-11-147-20/+20
| | | | (cherry picked from commit 8964681064db9f13ee4ec7f46c53f04d66a04b99)
* Correct readahead syscall wrapper on powerpc32.Andreas Schwab2009-11-061-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.
* Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek2009-11-067-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.
* Fix typo in readlinkatAndreas Schwab2009-10-301-1/+1
|
* Fix IA-64 and S390 sigevent definitions.Ulrich Drepper2009-10-292-4/+12
|
* Fix compat handling in *at functions.Ulrich Drepper2009-10-2918-18/+132
| | | | | When passed an empty string for the filename, the compat code using /proc in all *at functions did the wrong thing.
* Fix errno handling in posix_openpt.Andreas Schwab2009-10-291-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.
* Fix getttyname on Linux when called for different devices.Ulrich Drepper2009-10-291-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.
* Fix F_GETOWN on some Linux archs.Ulrich Drepper2009-10-293-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.
* Define F_OWNER_* and f_owner_ex for Linux targets.Ulrich Drepper2009-10-297-7/+126
|
* Add ____longjmp_chk for sparcDavid S. Miller2009-10-142-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)
* Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper2009-10-017-14/+28
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-152-141/+107
|
* Fix __longjmp_chk on s390/s390x.Jakub Jelinek2009-09-082-0/+110
| | | | s390/s390x hasn't been updated to handle alternate stacks properly.
* Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab2009-08-222-0/+154
|
* Remove leftover code from Linux/x86 ____longjmp_chk.Ulrich Drepper2009-08-021-6/+0
|
* Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64.Ulrich Drepper2009-08-011-1/+1
|
* Optimize x86 and x86-64 ____longjmp_chk for Linux.Ulrich Drepper2009-07-312-117/+50
|
* Fix ____longjmp_chk on x86-64.Ulrich Drepper2009-07-311-2/+2
| | | | | After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location.
* Support multiarch for i686.H.J. Lu2009-07-311-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.
* Whitespace cleanup.Ulrich Drepper2009-07-301-2/+2
|
* Add sigstack handling to Linux ____longjmp_chk on i386.Ulrich Drepper2009-07-301-0/+143
| | | | All other i386 ports need to provide their own versions.
* ____longjmp_chk is now OS-specific.Ulrich Drepper2009-07-301-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.
* Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper2009-07-263-6/+26
|