This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Linux: Use mmap instead of malloc in dirent/tst-getdents64


28.06.2019 10:49 Florian Weimer <fweimer@redhat.com> wrote:
> 
> malloc dirties the entire allocated memory region due to M_PERTURB
> in the test harness.
> 
> 2019-06-28  Florian Weimer  <fweimer@redhat.com>
> 
> 	* sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
> 	Use mmap instead of malloc.  malloc with M_PERTURB writes to the
> 	entire allocated memory range.

Thank you, Florian.  I would like to confirm that now my make check
runs correctly.

Regards,

Rafal


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]