Re: [PATCH] rust: security: use `pin_init::zeroed()` for LSM context initialization
From: Miguel Ojeda
Date: Sun Jan 25 2026 - 14:33:23 EST
On Sat, Nov 29, 2025 at 2:57 PM Atharv Dubey <atharvd440@xxxxxxxxx> wrote:
>
> Replace the previous `unsafe { core::mem::zeroed() }` initialization of
> `bindings::lsm_context` with `pin_init::zeroed()`.
>
> Link: https://github.com/Rust-for-Linux/linux/issues/1189
> Signed-off-by: Atharv Dubey <atharvd440@xxxxxxxxx>
These were also sent by Benno, and in the issue he mentions
"re-sending", which usually means just adding your Signed-off-by below
his:
https://lore.kernel.org/all/20250814093046.2071971-1-lossin@xxxxxxxxxx/
Otherwise, if he is OK without authorship, this should most likely have:
Suggested-by: Benno Lossin <lossin@xxxxxxxxxx>
Cheers,
Miguel