test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 7 Mar 2016 12:48:47 +0000 (13:48 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 7 Mar 2016 12:48:47 +0000 (13:48 +0100)
commit900056024b75eae8b550d7fee1dec9e71f28344e
treede2aefba0ab594ddb7125cf4b25c50bb7e575240
parent9ff72da471a509a8c19791efe469f47fa6977410
test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]

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.
ChangeLog
test-skeleton.c