* Re: [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` [not found] ` <CANiq72=vhPsGjSx9u0FvDa6uzMFkFQFP9qG+DhtZ_U5TyV=bJQ@mail.gmail.com> @ 2025-08-14 15:54 ` Paul Moore 2025-08-14 17:28 ` Benno Lossin 2025-08-14 17:48 ` Miguel Ojeda 0 siblings, 2 replies; 4+ messages in thread From: Paul Moore @ 2025-08-14 15:54 UTC (permalink / raw) To: Miguel Ojeda Cc: Benno Lossin, Alice Ryhl, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo, Björn Roy Baron, Andreas Hindborg, Trevor Gross, Danilo Krummrich, Fiona Behrens, Jocelyn Falempe, rust-for-linux, linux-kernel, linux-security-module On Thu, Aug 14, 2025 at 11:31 AM Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrote: > On Thu, Aug 14, 2025 at 5:19 PM Paul Moore <paul@paul-moore.com> wrote: > > > > I'm happy to take this via the LSM tree, but it would be nice to see a > > Reviewed-by/Acked-by from someone with a better understanding of Rust > > :) > > I think the idea is to take all these through the Rust one with > Acked-bys from the maintainers (or we can skip this one and do it in a > future cycle when the first patches get in). [CC'd the LSM list, as I just realized it wasn't on the original patch posting; in the future please include the LSM list on LSM related Rust patchsets/patches] That's fine, it wasn't clear from the post that was the plan, and I vaguely recalled from past conversations with Rust devs that they preferred Rust wrappers/helpers to go in via the associated subsystem tree. > In any case, Benno is very knowledgeable in Rust -- he wrote the > library being called here -- so unless you see something out of the > ordinary, it seems OK to me. My comment asking for additional review/ACK tags wasn't due to any distrust of Benno - thank you for your work Benno - it is just a matter of trying to make sure there are at least two sets of (knowledgeable) eyes on a patch before it is merged. If it is something I'm merging into one the trees I maintain, normally I count myself as the second set of eyes, but in this case I don't (yet) consider myself a knowledgeable Rust reviewer so I was asking for an additional explicit review tag. If someone else is going to merge this patch{set}, then it's up to them; although I would hope they would do something similar. -- paul-moore.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` 2025-08-14 15:54 ` [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` Paul Moore @ 2025-08-14 17:28 ` Benno Lossin 2025-08-14 22:01 ` Paul Moore 2025-08-14 17:48 ` Miguel Ojeda 1 sibling, 1 reply; 4+ messages in thread From: Benno Lossin @ 2025-08-14 17:28 UTC (permalink / raw) To: Paul Moore, Miguel Ojeda Cc: Alice Ryhl, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo, Björn Roy Baron, Andreas Hindborg, Trevor Gross, Danilo Krummrich, Fiona Behrens, Jocelyn Falempe, rust-for-linux, linux-kernel, linux-security-module On Thu Aug 14, 2025 at 5:54 PM CEST, Paul Moore wrote: > On Thu, Aug 14, 2025 at 11:31 AM Miguel Ojeda > <miguel.ojeda.sandonis@gmail.com> wrote: >> On Thu, Aug 14, 2025 at 5:19 PM Paul Moore <paul@paul-moore.com> wrote: >> > >> > I'm happy to take this via the LSM tree, but it would be nice to see a >> > Reviewed-by/Acked-by from someone with a better understanding of Rust >> > :) >> >> I think the idea is to take all these through the Rust one with >> Acked-bys from the maintainers (or we can skip this one and do it in a >> future cycle when the first patches get in). > > [CC'd the LSM list, as I just realized it wasn't on the original patch > posting; in the future please include the LSM list on LSM related Rust > patchsets/patches] I checked and I didn't find a maintainers entry for that this file & the LSM list. I'm using scripts/get_maintainer.pl to get the people I send patches to and that also checks git commits, so I guess it added you through that (which is very good :). So can we add a maintainers entry for `rust/kernel/security.rs` so people don't miss this in the future? Thanks! --- Cheers, Benno ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` 2025-08-14 17:28 ` Benno Lossin @ 2025-08-14 22:01 ` Paul Moore 0 siblings, 0 replies; 4+ messages in thread From: Paul Moore @ 2025-08-14 22:01 UTC (permalink / raw) To: Benno Lossin Cc: Miguel Ojeda, Alice Ryhl, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo, Björn Roy Baron, Andreas Hindborg, Trevor Gross, Danilo Krummrich, Fiona Behrens, Jocelyn Falempe, rust-for-linux, linux-kernel, linux-security-module On Thu, Aug 14, 2025 at 1:28 PM Benno Lossin <lossin@kernel.org> wrote: > On Thu Aug 14, 2025 at 5:54 PM CEST, Paul Moore wrote: > > On Thu, Aug 14, 2025 at 11:31 AM Miguel Ojeda > > <miguel.ojeda.sandonis@gmail.com> wrote: > >> On Thu, Aug 14, 2025 at 5:19 PM Paul Moore <paul@paul-moore.com> wrote: > >> > > >> > I'm happy to take this via the LSM tree, but it would be nice to see a > >> > Reviewed-by/Acked-by from someone with a better understanding of Rust > >> > :) > >> > >> I think the idea is to take all these through the Rust one with > >> Acked-bys from the maintainers (or we can skip this one and do it in a > >> future cycle when the first patches get in). > > > > [CC'd the LSM list, as I just realized it wasn't on the original patch > > posting; in the future please include the LSM list on LSM related Rust > > patchsets/patches] > > I checked and I didn't find a maintainers entry for that this file & the > LSM list. I'm using scripts/get_maintainer.pl to get the people I send > patches to and that also checks git commits, so I guess it added you > through that (which is very good :). So can we add a maintainers entry > for `rust/kernel/security.rs` so people don't miss this in the future? > Thanks! Here ya go ... https://lore.kernel.org/linux-security-module/20250814215952.238316-2-paul@paul-moore.com/ -- paul-moore.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` 2025-08-14 15:54 ` [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` Paul Moore 2025-08-14 17:28 ` Benno Lossin @ 2025-08-14 17:48 ` Miguel Ojeda 1 sibling, 0 replies; 4+ messages in thread From: Miguel Ojeda @ 2025-08-14 17:48 UTC (permalink / raw) To: Paul Moore Cc: Benno Lossin, Alice Ryhl, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo, Björn Roy Baron, Andreas Hindborg, Trevor Gross, Danilo Krummrich, Fiona Behrens, Jocelyn Falempe, rust-for-linux, linux-kernel, linux-security-module On Thu, Aug 14, 2025 at 5:54 PM Paul Moore <paul@paul-moore.com> wrote: > > That's fine, it wasn't clear from the post that was the plan, and I > vaguely recalled from past conversations with Rust devs that they > preferred Rust wrappers/helpers to go in via the associated subsystem > tree. Yeah, it is still the case that Rust abstractions and Rust code in general should land through the best tree possible. However, sometimes tree-wide improvements may be easy to do with simple Acked-bys. > My comment asking for additional review/ACK tags wasn't due to any > distrust of Benno - thank you for your work Benno - it is just a Ah, sorry, I didn't mean that you distrusted Benno or anything like that. I was trying to give context in case it helped you evaluate the patch/risk, which also allowed me at the same time to acknowledge Benno's experience/work. We were mainly expecting the Acked-bys to proceed with the cleanups here to remove these unsafe blocks, but we definitely want more tags if possible in all patches, as always (by the time this gets applied, we will hopefully get some more). Cheers, Miguel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-14 22:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250814093046.2071971-1-lossin@kernel.org>
[not found] ` <20250814093046.2071971-8-lossin@kernel.org>
[not found] ` <CAHC9VhQXOezJ2=B1BQOqLgfuzDJEVS5G_r9+_bQ+OUNTpjZCKw@mail.gmail.com>
[not found] ` <CANiq72=vhPsGjSx9u0FvDa6uzMFkFQFP9qG+DhtZ_U5TyV=bJQ@mail.gmail.com>
2025-08-14 15:54 ` [PATCH v3 07/11] rust: security: replace `core::mem::zeroed` with `pin_init::zeroed` Paul Moore
2025-08-14 17:28 ` Benno Lossin
2025-08-14 22:01 ` Paul Moore
2025-08-14 17:48 ` Miguel Ojeda
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).