| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
But maintain compatiblity for 2.11.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fix building on x86 when older linux headers lack __NR_fallocate define.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
After a recent change to fix CFI in ____longjmp_chk the test of the
ss_flags used the wrong memory location.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
All other i386 ports need to provide their own versions.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Ever since the /usr/include/linux headers got cleaned up this isn't
necessary. Meanwhile everybody should have these cleanups.
|
|
|
|
|
| |
The most recent AP 485 describes a few more cache descriptors for
L3 caches with 24-way associativity.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If devptr is misconfigured the slave device permission after grantpt
might not be 0620. BZ #10166
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Hidden by previous .gitignore content.
|
|
|
|
| |
This saves about 1.5kB in the DSO.
|
|
|
|
|
| |
So far accept4 was only supported on archs using socketcall for x86.
This patch adds support for the remaining archs.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This definition was meant to be removed before the checkin. It was
used in the development.
|
|
|
|
| |
The header had the old name (paccept).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any
compatibility functions.
* nss/getXXent_r.c: Likewise.
* gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED.
* gshadow/getsgnam_r.c: Likewise.
* gshadow/Version: Remove duplicate entries.
* sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries
for recent processor.
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info):
Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-05-06 Ryan S. Arnold <rsa@us.ibm.com>
[BZ #10118]
* Makeconfig (+asflags): New variable based upon ASFLAG or
asflags-cpu.
(ASFLAGS): Add override to set ASFLAGS to +asflags.
* config.make.in (asflags-cpu): Add variable based upon
@libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to
the assembler.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
Remove unneeded file now that the assembler emits _ARCH_PWR6 and
recognizes power6 instruction set due to passing -mcpu=power6 from
--with-cpu=power6 when compiling .S files.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
Likewise.
|