This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add MADV_WIPEONFORK, MADV_KEEPONFORK from Linux 4.14
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Wed, 15 Nov 2017 19:38:06 +0100
- Subject: Re: Add MADV_WIPEONFORK, MADV_KEEPONFORK from Linux 4.14
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1711151830480.15924@digraph.polyomino.org.uk>
On 11/15/2017 07:31 PM, Joseph Myers wrote:
2017-11-15 Joseph Myers<joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/bits/mman-linux.h
[__USE_MISC] (MADV_WIPEONFORK): New macro.
[__USE_MISC] (MADV_KEEPONFORK): Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h
[__USE_MISC] (MADV_WIPEONFORK): Likewise.
[__USE_MISC] (MADV_KEEPONFORK): Likewise.
I double-checked the constants against the kernel sources. Looks good.
Thanks,
Florian