[PATCH] test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]
Florian Weimer
fweimer@redhat.com
Mon Mar 7 13:01:00 GMT 2016
On 02/20/2016 03:13 PM, Florian Weimer wrote:
> 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.
I have committed this.
Florian
More information about the Libc-alpha
mailing list