lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DFPL36VGXC4U.2VIGN6HU8DQDJ@kernel.org>
Date: Fri, 16 Jan 2026 01:23:38 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: <gregkh@...uxfoundation.org>, <rafael@...nel.org>,
 <igor.korotin.linux@...il.com>, <ojeda@...nel.org>, <boqun.feng@...il.com>,
 <gary@...yguo.net>, <bjorn3_gh@...tonmail.com>, <lossin@...nel.org>,
 <a.hindborg@...nel.org>, <aliceryhl@...gle.com>, <tmgross@...ch.edu>,
 <david.m.ertman@...el.com>, <ira.weiny@...el.com>, <leon@...nel.org>,
 <bhelgaas@...gle.com>, <kwilczynski@...nel.org>,
 <wsa+renesas@...g-engineering.com>
Cc: <linux-kernel@...r.kernel.org>, <rust-for-linux@...r.kernel.org>,
 <linux-pci@...r.kernel.org>, <linux-usb@...r.kernel.org>,
 <linux-i2c@...r.kernel.org>
Subject: Re: [PATCH 0/6] Address race condition with Device::drvdata()

On Wed Jan 7, 2026 at 11:34 AM CET, Danilo Krummrich wrote:
> Danilo Krummrich (6):
>   rust: i2c: do not drop device private data on shutdown()
>   rust: auxiliary: add Driver::unbind() callback
>   rust: driver: introduce a common Driver trait

    [ Rename driver::Driver to driver::DriverLayout, as it represents the
      layout of a driver structure rather than the driver structure itself.
      - Danilo ]

>   rust: driver: add DEVICE_DRIVER_OFFSET to the Driver trait
>   rust: driver: add DriverData type to the generic Driver trait
>   rust: driver: drop device private data post unbind

    [ Remove #ifdef CONFIG_RUST, rename post_unbind() to post_unbind_rust().
     - Danilo]

Applied to driver-core-linus, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ