* Re: [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry
2026-09-30 12:36 [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry Miguel Ojeda
@ 2026-09-30 12:39 ` Alice Ryhl
2026-09-30 13:29 ` Lorenzo Stoakes (ARM)
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Alice Ryhl @ 2026-09-30 12:39 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Lorenzo Stoakes, Liam R . Howlett, linux-mm, rust-for-linux,
Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Trevor Gross, Danilo Krummrich, Daniel Almeida,
Tamir Duberstein, Alexandre Courbot, Onur Özkan, stable
On Wed, Sep 30, 2026 at 2:37 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") added constant helpers
> for the VMA flags and blocklist entries to suppress their direct bindings.
> However, it listed VM_MAYEXEC twice and omitted VM_MAYSHARE.
>
> Thus fix it.
>
> Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry
2026-09-30 12:36 [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry Miguel Ojeda
2026-09-30 12:39 ` Alice Ryhl
@ 2026-09-30 13:29 ` Lorenzo Stoakes (ARM)
2026-09-30 14:24 ` Miguel Ojeda
2026-09-30 14:34 ` Vishal Moola (Fractile)
3 siblings, 0 replies; 5+ messages in thread
From: Lorenzo Stoakes (ARM) @ 2026-09-30 13:29 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Alice Ryhl, Liam R . Howlett, linux-mm, rust-for-linux,
Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Trevor Gross, Danilo Krummrich, Daniel Almeida,
Tamir Duberstein, Alexandre Courbot, Onur Özkan, stable
On Wed, Sep 30, 2026 at 02:36:45PM +0200, Miguel Ojeda wrote:
> Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") added constant helpers
> for the VMA flags and blocklist entries to suppress their direct bindings.
> However, it listed VM_MAYEXEC twice and omitted VM_MAYSHARE.
>
> Thus fix it.
>
> Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Oops! :) LGTM so:
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
> ---
> rust/bindgen_parameters | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rust/bindgen_parameters b/rust/bindgen_parameters
> index 8402b0c93545..93e622aaaf78 100644
> --- a/rust/bindgen_parameters
> +++ b/rust/bindgen_parameters
> @@ -50,7 +50,7 @@
> --blocklist-item VM_MAYREAD
> --blocklist-item VM_MAYWRITE
> --blocklist-item VM_MAYEXEC
> ---blocklist-item VM_MAYEXEC
> +--blocklist-item VM_MAYSHARE
> --blocklist-item VM_PFNMAP
> --blocklist-item VM_IO
> --blocklist-item VM_DONTCOPY
>
> base-commit: 7b5ba47d845f35b04937748a191a1772ffc1f288
> --
> 2.55.0
>
--
Cheers, Lorenzo
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry
2026-09-30 12:36 [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry Miguel Ojeda
2026-09-30 12:39 ` Alice Ryhl
2026-09-30 13:29 ` Lorenzo Stoakes (ARM)
@ 2026-09-30 14:24 ` Miguel Ojeda
2026-09-30 14:34 ` Vishal Moola (Fractile)
3 siblings, 0 replies; 5+ messages in thread
From: Miguel Ojeda @ 2026-09-30 14:24 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Alice Ryhl, Lorenzo Stoakes, Liam R . Howlett, linux-mm,
rust-for-linux, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Trevor Gross, Danilo Krummrich,
Daniel Almeida, Tamir Duberstein, Alexandre Courbot,
Onur Özkan, stable
On Wed, Sep 30, 2026 at 2:37 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") added constant helpers
> for the VMA flags and blocklist entries to suppress their direct bindings.
> However, it listed VM_MAYEXEC twice and omitted VM_MAYSHARE.
>
> Thus fix it.
>
> Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Applied to `rust-next` to go next to the other one where I noticed it.
Thanks everyone!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry
2026-09-30 12:36 [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry Miguel Ojeda
` (2 preceding siblings ...)
2026-09-30 14:24 ` Miguel Ojeda
@ 2026-09-30 14:34 ` Vishal Moola (Fractile)
3 siblings, 0 replies; 5+ messages in thread
From: Vishal Moola (Fractile) @ 2026-09-30 14:34 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Alice Ryhl, Lorenzo Stoakes, Liam R . Howlett, linux-mm,
rust-for-linux, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Trevor Gross, Danilo Krummrich,
Daniel Almeida, Tamir Duberstein, Alexandre Courbot,
Onur Özkan, stable
On Wed, Sep 30, 2026 at 02:36:45PM +0200, Miguel Ojeda wrote:
> Commit 2b6a3f061f11 ("mm: declare VMA flags by bit") added constant helpers
> for the VMA flags and blocklist entries to suppress their direct bindings.
> However, it listed VM_MAYEXEC twice and omitted VM_MAYSHARE.
>
> Thus fix it.
>
> Fixes: 2b6a3f061f11 ("mm: declare VMA flags by bit")
> Cc: stable@vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Nice catch!
Reviewed-by: Vishal Moola (Fractile) <vishal.moola@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread