This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement protection key support for POWER


On 05/23/2018 12:33 PM, Florian Weimer wrote:
> The userspace interface contract is that you have to call pkey_alloc,
> and if that succeeds, you know that you an call pkey_set and
> pkey_get. pkey_alloc is the only way to get a key number that is
> usable.

That makes perfect sense, thanks for explaining that. So on pre-ISA3.0
hardware you can't get a value from pkey_alloc() because the kernel
would handle that side of the equation.

Are we interested in adding this support right know given the bugs
and potential future changes? I know that your patch implies that you
think it's going to be useful, but I want to call this out explicitly
here.

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]