]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Amend the recent update to VG_(getrlimit) and VG_(setrlimit)
authorPetar Jovanovic <mips32r2@gmail.com>
Thu, 23 Apr 2020 16:42:26 +0000 (16:42 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Thu, 23 Apr 2020 16:42:26 +0000 (16:42 +0000)
commit09f4f2f8fd9cdecb994e74df8b938108a01120f7
tree707d77c77ee80a3249d98a5c9dda70f682183e2d
parentb07722631ff47670fa193198f5f56a1b7582673b
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.

It fixes none/tests/stackgrowth and none/tests/sigstackgrowth
tests on nanoMIPS.

Patch by: Stefan Maksimovic and Aleksandar Rikalo

This patch resolves KDE #416285.
NEWS
coregrind/m_libcproc.c
include/vki/vki-linux.h
include/vki/vki-mips32-linux.h
include/vki/vki-nanomips-linux.h