| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This reverts commit c81fb726d822c5c5296c21c9d47c323ce14aa723.
Conflicts:
ChangeLog
|
|
|
|
|
|
| |
fnstenv on x86-64 seems to clear the state. Work around.
(cherry picked from commit 75ea32abcde4e1699328354e1804ea94560d2950)
|
|
|
|
| |
(cherry picked from commit e451d22b22c959a4dbf86dbc9f125985601473ab)
|
|
|
|
| |
(cherry picked from commit 6e63d5e1aebc659a95223cf8862a7b42c67dbb1c)
|
|
|
|
| |
(cherry picked from commit d55fd7a5573ea7c7c14af95bc37618469cde8a5f)
|
|
|
|
| |
(cherry picked from commit 18ba70a559c52719fd94a713cc380514d9d19125)
|
|
|
|
| |
(cherry picked from commit 32465c3ea007065acd8ca8199f130cdf4068130d)
|
|
|
|
| |
(cherry picked from commit a77e8cbc394ab098aa1fc3f0a6645a38348d21ca)
|
|
|
|
| |
(cherry picked from commit 1086d70d916fd0eb969b3d89ff88abd35f6a5c34)
|
|
|
|
|
|
|
| |
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
(cherry picked from commit 16c2895feabae0962e0eba2b9164c6a83014bfe4)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit c21cc9bcb38a87ff638d1099ca871d94a2192b31)
|
|
|
|
| |
(cherry picked from commit cf7c9078a5acdbb435498ace92cd81009637a971)
|
|
|
|
| |
(cherry picked from commit a1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc)
|
|
|
|
| |
(cherry picked from commit fdc0c10d9b5c39ec20c35d2f3808d3c70cb7f60b)
|
|
|
|
| |
(cherry picked from commit 1751705d1c4e8b7aba391391d1d8d88fe8c9d8b8)
|
|
|
|
| |
(cherry picked from commit 1ac7a2c7b448c851eb8976fcc290a906a4075203)
|
|
|
|
| |
(cherry picked from commit c044aa75354b48d4b7aaffe465706282192e54c2)
|
|
|
|
| |
(cherry picked from commit e53a31fe575dcfd0dceb9f316d673de34d39abad)
|
|
|
|
| |
(cherry picked from commit 0e516e0e14f2f9783a21cd1727bc53776341f857)
|
|
|
|
| |
(cherry picked from commit d2f73151763c27173d9a771cea722380d7fc61c2)
|
|
|
|
| |
(cherry picked from commit 8c0677fe5d91b7269364ca08fa08ed09e4c2d8c9)
|
|
|
|
| |
(cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)
|
|
|
|
|
|
|
|
| |
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 e3b7670be21d6992e3ca9ee1ad3a5d08eb3a24c9)
|
|
|
|
| |
(cherry picked from commit 3ed8e241229e370cca96650ed727f09838c51d67)
|
|
|
|
| |
(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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
| |
s390/s390x hasn't been updated to handle alternate stacks properly.
|
|
|
|
| |
pointing to it.
|
| |
|
| |
|