lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0a072ec0-6d9d-4cd3-82e2-9df55ecb9aa7@lucifer.local>
Date: Fri, 21 Nov 2025 08:20:12 +0000
From: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
To: Alejandro Colomar <alx@...nel.org>
Cc: linux-man@...r.kernel.org, "Liam R . Howlett" <Liam.Howlett@...cle.com>,
        Vlastimil Babka <vbabka@...e.cz>, Jann Horn <jannh@...gle.com>,
        Pedro Falcato <pfalcato@...e.de>, Rik van Riel <riel@...riel.com>,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] man/man2/mremap.2: fix incorrect reference to VM_MIXEDMAP

On Fri, Nov 21, 2025 at 08:16:09AM +0000, Lorenzo Stoakes wrote:
> We actually disallow VM_DONTEXPAND and VM_PFNMAP for VM_DONTUNMAP, the
> manpage incorrectly references VM_MIXEDMAP. Correct this.

Of course I ironically typo'd here :)

VM_DONTUNMAP -> MREMAP_DONTUNMAP

:P

>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
> ---
>  man/man2/mremap.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man/man2/mremap.2 b/man/man2/mremap.2
> index 6a6df8601..cbe960f77 100644
> --- a/man/man2/mremap.2
> +++ b/man/man2/mremap.2
> @@ -206,7 +206,7 @@ The
>  flag can be used only with mappings that are not
>  .B VM_DONTEXPAND
>  or
> -.BR VM_MIXEDMAP .
> +.BR VM_PFNMAP .
>  Before Linux 5.13, the
>  .B MREMAP_DONTUNMAP
>  flag could be used only with private anonymous mappings
> --
> 2.51.2
>

Cheers, Lorenzo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ