[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <694340.1586290917@warthog.procyon.org.uk>
Date: Tue, 07 Apr 2020 21:21:57 +0100
From: David Howells <dhowells@...hat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: dhowells@...hat.com, Waiman Long <longman@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
James Morris <jmorris@...ei.org>,
"Serge E. Hallyn" <serge@...lyn.com>, linux-mm@...ck.org,
keyrings@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Joe Perches <joe@...ches.com>,
Matthew Wilcox <willy@...radead.org>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects
David Howells <dhowells@...hat.com> wrote:
> > if (unlikely(key_data))
> > - __kvzfree(key_data, key_data_len);
> > + kvfree_sensitive(key_data, key_data_len);
>
> I think the if-statement is redundant.
Ah - I see that you explicitly wanted to keep it. There's a good chance it'll
get janitored at some point.
David
Powered by blists - more mailing lists