https://bugs.kde.org/show_bug.cgi?id=416285

            Bug ID: 416285
           Summary: Use prlimit64 in VG_(getrlimit) and VG_(setrlimit)
           Product: valgrind
           Version: 3.15 SVN
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: stefan.maksimo...@rt-rk.com
                CC: mips3...@gmail.com
  Target Milestone: ---

Created attachment 125143
  --> https://bugs.kde.org/attachment.cgi?id=125143&action=edit
patch

Amend the recent update to VG_(getrlimit) and VG_(setrlimit)

[get|set]rlimit system calls are becoming deprecated.
Coregrind should use prlimit64 as the first candidate in order to achieve
"rlimit" functionality.

There are also systems that do not even support older "rlimits".

Modify the previously added support VG_(getrlimit)
and VG_(setrlimit) using __NR_prlimit64 by making it
similar to the glibc implementation.




This change has been tested on x86 and mips and we would like feedback on how
it behaves on other architectures/systems.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to