[PATCH] test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]

Florian Weimer fweimer@redhat.com
Sat Feb 20 14:13:00 GMT 2016


With older kernels, it is mostly ineffective because it causes malloc
to switch from sbrk to mmap (potentially invalidating malloc testing
compared to what real appliations do).  With newer kernels which
have switched to enforcing RLIMIT_DATA for mmap as well, some test
cases will fail in an unintended fashion because the limit which was
set previously does not include room for all mmap mappings.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test-skeleton.c-Do-not-set-RLIMIT_DATA-BZ-19648.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160220/e727a55a/attachment.bin>


More information about the Libc-alpha mailing list