This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] Fix RLIM64_INFINITY definition for O32 and N32 ABI


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.

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/getrlimit64.c |   71 ++++++++++++++++++++++
 ports/sysdeps/unix/sysv/linux/mips/setrlimit64.c |   67 ++++++++++++++++++++
 2 files changed, 138 insertions(+)
 create mode 100644 ports/sysdeps/unix/sysv/linux/mips/getrlimit64.c
 create mode 100644 ports/sysdeps/unix/sysv/linux/mips/setrlimit64.c

-- 
1.7.10.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]