Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rust: bindings: fix VM_MAYSHARE blocklist entry
@ 2026-09-30 12:36 Miguel Ojeda
  2026-09-30 12:39 ` Alice Ryhl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Miguel Ojeda @ 2026-09-30 12:36 UTC (permalink / raw)
  To: Alice Ryhl, 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

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>
---
 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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-30 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox