Re: [PATCH v3 1/2] rust: lockdep: Remove support for dynamically allocated LockClassKeys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 07, 2025 at 12:27:58AM +0100, Miguel Ojeda wrote:
> On Wed, Feb 5, 2025 at 8:59 PM Mitchell Levy <levymitchell0@xxxxxxxxx> 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@xxxxxxxxxx>
> > Link: https://lore.kernel.org/rust-for-linux/20240815074519.2684107-3-nmi@xxxxxxxxxxxx/
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Mitchell Levy <levymitchell0@xxxxxxxxx>
> 
> I imagine we should have:
> 
>     Fixes: 6ea5aa08857a ("rust: sync: introduce `LockClassKey`")
> 
> Is that right?

That's correct. Thank you for catching this! I will include this on a
resend.

Mitchell

> Thanks!
> 
> Cheers,
> Miguel




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux