Re: [PATCH] crypto: virtio - Erase some sensitive memory when it is freed

2025-03-03 Thread Lei Yang
QE tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang On Tue, Mar 4, 2025 at 3:08 AM Christophe JAILLET wrote: > > virtcrypto_clear_request() does the same as the code here, but uses > kfree_sensitive() for one of the free operation. > > So, better sa

Re: [RFC PATCH v3 00/13] Clavis LSM

2025-03-03 Thread Paul Moore
On Fri, Feb 28, 2025 at 12:52 PM Eric Snowberg wrote: > > On Feb 28, 2025, at 9:14 AM, Paul Moore wrote: > > On Fri, Feb 28, 2025 at 9:09 AM Mimi Zohar wrote: > >> On Thu, 2025-02-27 at 17:22 -0500, Paul Moore wrote: > >>> > >>> I'd still also like to see some discussion about moving towards the

Re: [RFC PATCH v3 00/13] Clavis LSM

2025-03-03 Thread Paul Moore
On Fri, Feb 28, 2025 at 12:19 PM Mimi Zohar wrote: > On Fri, 2025-02-28 at 11:14 -0500, Paul Moore wrote: > > On Fri, Feb 28, 2025 at 9:09 AM Mimi Zohar wrote: > > > On Thu, 2025-02-27 at 17:22 -0500, Paul Moore wrote: ... > Ok, let's go through different scenarios to see if it would scale. > >

[PATCH] crypto: virtio - Erase some sensitive memory when it is freed

2025-03-03 Thread Christophe JAILLET
virtcrypto_clear_request() does the same as the code here, but uses kfree_sensitive() for one of the free operation. So, better safe than sorry, use virtcrypto_clear_request() directly to save a few lines of code and cleanly free the memory. Signed-off-by: Christophe JAILLET --- I've no idea if