[PATCH v3 0/2] Fix RLIM64_INFINITY definition for O32 and N32 ABI
Aurelien Jarno
aurelien@aurel32.net
Wed Nov 27 18:06:00 GMT 2013
This patch series fixes the RLIM64_INFINITY constant issue, described
there:
http://www.linux-mips.org/archives/linux-mips/2013-06/msg00540.html
It is done in two steps, the first patch adds a wrapper to fix the
value before/after the syscall, the second add a new symbol so that
the RLIM64_INFINITY value can be changed to the same value than in the
kernel. That way the first patch can be backported to older versions
(upstream and/or by the distributions), and both of them can be applied
to 2.19.
This new version should address the comments from Joseph S. Myers. I have
tested in with o32, n32 and n64 ABI, including the check-abi test.
Aurelien Jarno (2):
MIPS: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constant
MIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIs
ports/sysdeps/unix/sysv/linux/mips/bits/resource.h | 4 +-
ports/sysdeps/unix/sysv/linux/mips/getrlimit64.c | 66 ++++++++++++++++++++
ports/sysdeps/unix/sysv/linux/mips/mips32/Versions | 6 ++
.../unix/sysv/linux/mips/mips32/nptl/libc.abilist | 4 ++
.../unix/sysv/linux/mips/mips64/n32/Versions | 6 ++
.../sysv/linux/mips/mips64/n32/nptl/libc.abilist | 4 ++
ports/sysdeps/unix/sysv/linux/mips/setrlimit64.c | 63 +++++++++++++++++++
7 files changed, 151 insertions(+), 2 deletions(-)
create mode 100644 ports/sysdeps/unix/sysv/linux/mips/getrlimit64.c
create mode 100644 ports/sysdeps/unix/sysv/linux/mips/mips32/Versions
create mode 100644 ports/sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
create mode 100644 ports/sysdeps/unix/sysv/linux/mips/setrlimit64.c
--
1.7.10.4
More information about the Libc-alpha
mailing list