Skip to content

Commit a2b6c35

Browse files
committed
rust: bindings: fix VM_MAYSHARE blocklist entry
Commit 2b6a3f0 ("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: 2b6a3f0 ("mm: declare VMA flags by bit") Cc: stable@vger.kernel.org Assisted-by: LLM Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Link: https://patch.msgid.link/20260930123645.302318-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 7b5ba47 commit a2b6c35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rust/bindgen_parameters‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
--blocklist-item VM_MAYREAD
5151
--blocklist-item VM_MAYWRITE
5252
--blocklist-item VM_MAYEXEC
53-
--blocklist-item VM_MAYEXEC
53+
--blocklist-item VM_MAYSHARE
5454
--blocklist-item VM_PFNMAP
5555
--blocklist-item VM_IO
5656
--blocklist-item VM_DONTCOPY

0 commit comments

Comments
 (0)