On Tue, Dec 04, 2018 at 07:35:50AM -0800, Andy Lutomirski wrote: > > > > On Dec 3, 2018, at 11:39 PM, Alison Schofield <alison.schofield@xxxxxxxxx> 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'.