On 05.02.25 20:59, Mitchell Levy 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@metaspace.dk/ (local)
Cc: <redacted>
Signed-off-by: Mitchell Levy <redacted>
---
rust/kernel/sync.rs | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
Reviewed-by: Benno Lossin <redacted>