]> git.ipfire.org Git - thirdparty/man-pages.git/commit
madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK
authorRik van Riel <riel@redhat.com>
Tue, 19 Sep 2017 18:32:00 +0000 (20:32 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 20 Sep 2017 06:26:24 +0000 (08:26 +0200)
commitc0c4f6c29c494c466f3a2a6273c5b55b76a72927
tree8fcba0dfd2a8d6ae6e55677d3f6bb0e4095acd84
parentb9aff60ed33de808cf27f5ad3cd582eeed91de00
madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK

Add MADV_WIPEONFORK and MADV_KEEPONFORK documentation,
which has been merged for the 4.14 kernel.

While documenting what EINVAL means for MADV_WIPEONFORK,
I realized that MADV_FREE has the same thing going on,
so I documented EINVAL for both in the ERRORS section.

This patch documents the following kernel commit:

    commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
    Author: Rik van Riel <riel@redhat.com>
    Date:   Wed Sep 6 16:25:15 2017 -0700

        mm,fork: introduce MADV_WIPEONFORK

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Colm MacCárthaigh <colm@allcosts.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/madvise.2