[PATCH v19 3/8] rust: implement `ForeignOwnable` for `Owned`

Alice Ryhl aliceryhl at google.com
Tue Jul 7 13:04:45 UTC 2026


On Fri, Jun 26, 2026 at 1:55 PM Andreas Hindborg <a.hindborg at kernel.org> wrote:
>
> Implement `ForeignOwnable` for `Owned<T>`. This allows use of `Owned<T>` in
> places such as the `XArray`.
>
> Note that `T` does not need to implement `ForeignOwnable` for `Owned<T>` to
> implement `ForeignOwnable`.
>
> Signed-off-by: Andreas Hindborg <a.hindborg at kernel.org>
> Reviewed-by: Gary Guo <gary at garyguo.net>

Reviewed-by: Alice Ryhl <aliceryhl at google.com>



More information about the Linux-security-module-archive mailing list