| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 2a50c07836d2750baf70442f8f760bf6cd43b3af)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 0e516e0e14f2f9783a21cd1727bc53776341f857)
|
|
|
|
| |
(cherry picked from commit dbf3a06904168417a05882a871342e7a9ee3b383)
|
|
|
|
| |
(cherry picked from commit 8e9f92e9d5d7737afdacf79b76d98c4c42980508)
|
|
|
|
| |
(cherry picked from commit 45db99c7d03e497a3320907e722270fb7ee852f3)
|
|
|
|
| |
(cherry picked from commit 3c88fe1e3ab8c6115e9b0c6eb109718da2116a33)
|
|
|
|
| |
(cherry picked from commit d2f73151763c27173d9a771cea722380d7fc61c2)
|
|
|
|
| |
(cherry picked from commit 21a2b1aeeb9bbf49d76bac632327c19bc937d2d7)
|
|
|
|
| |
(cherry picked from commit 8c0677fe5d91b7269364ca08fa08ed09e4c2d8c9)
|
|
|
|
| |
(cherry picked from commit 6cffee3611f324326ae46bb02d2baeb62c0db6a4)
|
|
|
|
| |
(cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)
|
|
|
|
| |
(cherry picked from commit 22f4f44b6727887957aa1d4039eba290b064da63)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit b8b14c4cc38883032b8ebae50c9a8b3efd256483)
|
|
|
|
| |
(cherry picked from commit c3dfadb87e16f0fab6f4d5242bcecf06c02976c7)
|
|
|
|
| |
(cherry picked from commit 34b514dff6acf8f1cac0afefd24049e025fd62ea)
|
|
|
|
| |
(cherry picked from commit fd8ccb0427569ffdfbb70c8828029122f3459160)
|
|
|
|
| |
(cherry picked from commit e39acb1f165c467e99509146c95f69c7444521e3)
|
|
|
|
| |
(cherry picked from commit a3dc465852c38ffb4f329ca8b5b477a3c314c1ef)
|
|
|
|
| |
(cherry picked from commit 1d7223f31af8c35053e7a6fbac3070bcaa7bf87d)
|
|
|
|
| |
(cherry picked from commit e3b7670be21d6992e3ca9ee1ad3a5d08eb3a24c9)
|
|
|
|
| |
(cherry picked from commit 70b7d00fc782759f1257001202cc30cb29bae28f)
|
|
|
|
| |
(cherry picked from commit 3ed8e241229e370cca96650ed727f09838c51d67)
|
|
|
|
| |
(cherry picked from commit a682a1bf553b1efe4dbb03207fece5b719cec482)
|
|
|
|
| |
(cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 66221417957963c1d2df8d79f43573e328df2275)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit 03ebadd9eaa4663f58bd3fa6fe8283f255925632)
|
|
|
|
| |
(cherry picked from commit 2866eeb1b70c989591293d37ae292e71def16775)
|
|
|
|
|
|
| |
Fix building on x86 when older linux headers lack __NR_fallocate define.
(cherry picked from commit f9a7bd536e0b1693db32e1330bbd96108ca63c42)
|
|
|
|
| |
(cherry picked from commit 8964681064db9f13ee4ec7f46c53f04d66a04b99)
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When passed an empty string for the filename, the compat code
using /proc in all *at functions did the wrong thing.
|
|
|
|
|
| |
Several bugs fixed when we needed to create a thread to work on AIO
requests but failed and there is not one running.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|