This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]
- From: Florian Weimer <fweimer at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 7 Mar 2016 14:01:26 +0100
- Subject: Re: [PATCH] test-skeleton.c: Do not set RLIMIT_DATA [BZ #19648]
- Authentication-results: sourceware.org; auth=none
- References: <56C8746D dot 4080900 at redhat dot com>
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