Re: [PATCH] proc.5: add "wf" to VmFlags in /proc/[pid]/smaps

From: Michael Kerrisk (man-pages)
Date: Mon May 25 2020 - 09:48:49 EST


Hello Ian,

On 5/22/20 12:25 AM, Ian Rogers wrote:
> This patch documents a flag added in the following kernel commit:
>
> commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
> Author: Rik van Riel <riel@xxxxxxxxxx>
> Date: Wed Sep 6 16:25:15 2017 -0700
>
> mm,fork: introduce MADV_WIPEONFORK
>
> This was already documented in man2/madvise.2 in the commit:
>
> commit c0c4f6c29c494c466f3a2a6273c5b55b76a72927
> Author: Rik van Riel <riel@xxxxxxxxxx>
> Date: Tue Sep 19 20:32:00 2017 +0200
>
> madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK

Thanks. Patch applied.

Cheers,

Michael

> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> ---
> man5/proc.5 | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index 46d603f28..3e5b91af0 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -2020,6 +2020,7 @@ encoded using the following two-letter codes:
> ht - area uses huge tlb pages
> nl - non-linear mapping
> ar - architecture specific flag
> + wf - wipe on fork
> dd - do not include area into core dump
> sd - soft-dirty flag
> mm - mixed map area
>


--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/