On Wed, Feb 5, 2025 at 8:59 PM Mitchell Levy levymitchell0@gmail.com wrote:
Currently, dynamically allocated LockCLassKeys can be used from the Rust side without having them registered. This is a soundness issue, so remove them.
Suggested-by: Alice Ryhl aliceryhl@google.com Link: https://lore.kernel.org/rust-for-linux/20240815074519.2684107-3-nmi@metaspac... Cc: stable@vger.kernel.org Signed-off-by: Mitchell Levy levymitchell0@gmail.com
I imagine we should have:
Fixes: 6ea5aa08857a ("rust: sync: introduce `LockClassKey`")
Is that right?
Thanks!
Cheers, Miguel