Skip to content
Commit 966944f3 authored by Mitchell Levy's avatar Mitchell Levy Committed by Ingo Molnar
Browse files

rust: lockdep: Remove support for dynamically allocated LockClassKeys



Currently, dynamically allocated LockCLassKeys can be used from the Rust
side without having them registered. This is a soundness issue, so
remove them.

Fixes: 6ea5aa08 ("rust: sync: introduce `LockClassKey`")
Suggested-by: default avatarAlice Ryhl <aliceryhl@google.com>
Signed-off-by: default avatarMitchell Levy <levymitchell0@gmail.com>
Signed-off-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarBenno Lossin <benno.lossin@proton.me>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250307232717.1759087-11-boqun.feng@gmail.com
parent 21e4543a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment