Re: [RFC v2 04/13] x86/mm: Add helper functions for MKTME memory encryption keys
From: Alison Schofield <alison.schofield@intel.com>
Date: 2018-12-05 05:49:32
Also in:
keyrings, linux-mm
From: Alison Schofield <alison.schofield@intel.com>
Date: 2018-12-05 05:49:32
Also in:
keyrings, linux-mm
On Tue, Dec 04, 2018 at 07:35:50AM -0800, Andy Lutomirski wrote:
quoted
On Dec 3, 2018, at 11:39 PM, Alison Schofield [off-list ref] wrote: Define a global mapping structure to manage the mapping of userspace Keys to hardware KeyIDs in MKTME (Multi-Key Total Memory Encryption). Implement helper functions that access this mapping structure.Why is a key “void *”? Who owns the memory? Can a real type be used?
It's of type "struct key" of the kernel key service. Replacing void w 'struct key'.