about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Hurd: Fix linkat symlink handling.Emilio Pozuelo Monfort2010-11-091-2/+4
| | | | (cherry picked from commit 2a50c07836d2750baf70442f8f760bf6cd43b3af)
* 32bit memset-sse2.S fails with uneven cache sizeUlrich Drepper2010-11-091-3/+9
| | | | | | | | | | | 32bit memset-sse2.S assumes cache size is multiple of 128 bytes. If it isn't true, memset-sse2.S will fail. For example, a processor can have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half of it is 1258291, which isn't helpful for vector instructions. This patch rounds cache sizes to multiple of 256 bytes. (cherry picked from commit c0dde15b5dba7e02ce6f36eab3a4d1c166f9951b but removed introduction of new variables)
* Verify in ttyname() that the symlink is valid.Miklos Szeredi2010-11-092-10/+55
| | | | (cherry picked from commit 0e516e0e14f2f9783a21cd1727bc53776341f857)
* Fix x86-64 strchr propagation of search byte into all bytes of SSE registerRichard Li2010-11-011-2/+2
| | | | (cherry picked from commit dbf3a06904168417a05882a871342e7a9ee3b383)
* Require suid bit on audit objects in privileged programsAndreas Schwab2010-11-011-4/+2
| | | | (cherry picked from commit 8e9f92e9d5d7737afdacf79b76d98c4c42980508)
* Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmpUlrich Drepper2010-11-011-16/+16
| | | | (cherry picked from commit 45db99c7d03e497a3320907e722270fb7ee852f3)
* Incorrect x86 CPU family and model check.H.J. Lu2010-05-311-2/+2
| | | | (cherry picked from commit 3c88fe1e3ab8c6115e9b0c6eb109718da2116a33)
* Fix iov[] size in SH register_dump()Takashi Yoshii2010-05-311-2/+2
| | | | (cherry picked from commit d2f73151763c27173d9a771cea722380d7fc61c2)
* Fix FP exception control.Andrew Stubbs2010-05-191-3/+9
| | | | (cherry picked from commit 21a2b1aeeb9bbf49d76bac632327c19bc937d2d7)
* BZ #11538: Fix ttyname_r callers not to expect errno was set.Bruno Haible2010-05-122-5/+15
| | | | (cherry picked from commit 8c0677fe5d91b7269364ca08fa08ed09e4c2d8c9)
* BZ #11537: Hurd: Fix ttyname_r error return value.Bruno Haible2010-05-121-3/+3
| | | | (cherry picked from commit 6cffee3611f324326ae46bb02d2baeb62c0db6a4)
* Fix fallocate error return on i386.Andreas Schwab2010-05-122-2/+14
| | | | (cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)
* Fix concurrent handling of __cpu_features.Ulrich Drepper2010-05-122-14/+23
| | | | (cherry picked from commit 22f4f44b6727887957aa1d4039eba290b064da63)
* Handle unnecessary padding in getdents64.Ulrich Drepper2010-05-122-3/+14
| | | | | | | | 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 spurious UNAVAIL status is getaddrinfoAndreas Schwab2010-05-121-0/+1
| | | | (cherry picked from commit c3dfadb87e16f0fab6f4d5242bcecf06c02976c7)
* Fix typo in cuseridAndreas Schwab2010-05-121-1/+1
| | | | (cherry picked from commit 34b514dff6acf8f1cac0afefd24049e025fd62ea)
* calls to cuserid() can result in buffer overruns and/or overflowsJonathan Geisler2010-05-121-2/+3
| | | | (cherry picked from commit fd8ccb0427569ffdfbb70c8828029122f3459160)
* Fix R_X86_64_PC32 overflow detectionRichard Guenther2010-05-121-2/+2
| | | | (cherry picked from commit e39acb1f165c467e99509146c95f69c7444521e3)
* S/390: Disable two UTF conversion instructionsAndreas Krebbel2010-05-122-4/+16
| | | | (cherry picked from commit a3dc465852c38ffb4f329ca8b5b477a3c314c1ef)
* Fix i386 __mpn_lshift unwind infoUlrich Drepper2010-05-121-1/+3
| | | | (cherry picked from commit 1d7223f31af8c35053e7a6fbac3070bcaa7bf87d)
* Fix ____longjmp_chk for s390/s390x.Andreas Schwab2010-05-122-2/+2
| | | | (cherry picked from commit e3b7670be21d6992e3ca9ee1ad3a5d08eb3a24c9)
* memchr overshoots on ia64H.J. Lu2010-05-111-2/+6
| | | | (cherry picked from commit 70b7d00fc782759f1257001202cc30cb29bae28f)
* Remove incorrect paring of /proc/stat etc.Ryan S. Arnold2010-05-101-13/+1
| | | | (cherry picked from commit 3ed8e241229e370cca96650ed727f09838c51d67)
* Fix a few error cases in *name4_r lookup handling.Ulrich Drepper2010-01-181-7/+2
| | | | (cherry picked from commit a682a1bf553b1efe4dbb03207fece5b719cec482)
* Avoid local PLTs.Ulrich Drepper2009-12-041-3/+3
| | | | (cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)
* Prevent unintended file desriptor leak in grantpt.Ulrich Drepper2009-12-042-0/+46
| | | | | | | | | | | 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)
* Properly recover from shorter read.H.J. Lu2009-11-201-1/+10
| | | | (cherry picked from commit 66221417957963c1d2df8d79f43573e328df2275)
* 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)
* Fix spelling of (Newton-)RaphsonPhilippe De Muyter2009-11-062-6/+6
|
* 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 R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.Jakub Jelinek2009-11-061-2/+4
| | | | | | | | | I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink, and this patch is needed on the glibc side. Without it ld.so segfaults, as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense, because with prelink we know it is already properly relocated (all relative relocations are applied by prelink).
* 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.
* Make name of libgcc_s library configurableAndreas Schwab2009-11-032-1/+4
|
* Fix typo in readlinkatAndreas Schwab2009-10-301-1/+1
|
* Uglify IFUNC tests for PPC.Alan Modra2009-10-302-0/+72
|
* Implement IFUNC for PPC.Alan Modra2009-10-305-4/+152
|
* Add a few defines to <netinet/udp.h>.Ulrich Drepper2009-10-301-1/+11
|
* Implement mkstemps and mkstemps64.Ulrich Drepper2009-10-301-7/+7
|
* 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 AIO when thread creation failed.Ulrich Drepper2009-10-291-7/+19
| | | | | Several bugs fixed when we needed to create a thread to work on AIO requests but failed and there is not one running.
* 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.
* Add macros for DSCP markings.Philip Prindeville2009-10-291-1/+37
|
* 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.