Re: [PATCH 6/9] x86, pkeys: add pkey set/get syscalls
From: Dave Hansen
Date: Fri Jul 08 2016 - 12:32:22 EST
On 07/08/2016 12:18 AM, Ingo Molnar wrote:
> So the question is, what is user-space going to do? Do any glibc
> patches exist? How are the user-space library side APIs going to look
> like?
My goal at the moment is to get folks enabled to the point that they can
start modifying apps to use pkeys without having to patch their kernels.
I don't have confidence that we can design good high-level userspace
interfaces without seeing some real apps try to use the low-level ones
and seeing how they struggle.
I had some glibc code to do the pkey alloc/free operations, but those
aren't necessary if we're doing it in the kernel. Other than getting
the syscall wrappers in place, I don't have any immediate plans to do
anything in glibc.
Was there something you were expecting to see?