[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13867.1494314658@warthog.procyon.org.uk>
Date: Tue, 09 May 2017 08:24:18 +0100
From: David Howells <dhowells@...hat.com>
To: Eric Biggers <ebiggers3@...il.com>
Cc: dhowells@...hat.com, Kees Cook <keescook@...omium.org>,
James Morris <james.l.morris@...cle.com>,
"Serge E. Hallyn" <serge@...lyn.com>, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] key: Convert big_key payload.data to struct
Eric Biggers <ebiggers3@...il.com> wrote:
> It probably would be easier to kmalloc() this struct and store a pointer to
> it in key->payload.data[0]
Yeah, but it's a waste of resources if you don't have to do it.
David
Powered by blists - more mailing lists