[Bug libc/19648] test-skeleton.c: Do not set RLIMIT_DATA

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon May 30 11:06:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19648

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.23/master has been updated
       via  e6eea05ee7bc49dbe9531620595fd7f6ca587dcd (commit)
      from  f2225475118c8804b1b31731bdfb3f76eb179e6d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e6eea05ee7bc49dbe9531620595fd7f6ca587dcd

commit e6eea05ee7bc49dbe9531620595fd7f6ca587dcd
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Mar 7 13:48:47 2016 +0100

    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.

    (cherry picked from commit 900056024b75eae8b550d7fee1dec9e71f28344e)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    5 +++++
 test-skeleton.c |   17 -----------------
 2 files changed, 5 insertions(+), 17 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list