diff options
author | 2025-03-07 15:27:00 -0800 | |
---|---|---|
committer | 2025-03-08 00:52:00 +0100 | |
commit | 966944f3711665db13e214fef6d02982c49bb972 (patch) | |
tree | c4881bf8c351f08eceb06a3894c626d173c9ad1d /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'slab-for-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab (diff) | |
download | wireguard-linux-966944f3711665db13e214fef6d02982c49bb972.tar.xz wireguard-linux-966944f3711665db13e214fef6d02982c49bb972.zip |
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: 6ea5aa08857a ("rust: sync: introduce `LockClassKey`")
Suggested-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Mitchell Levy <levymitchell0@gmail.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250307232717.1759087-11-boqun.feng@gmail.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions