On Tue, Oct 24, 2017 at 05:48:15PM +0200, Michael Ellerman wrote: > Ram Pai <linux...@us.ibm.com> writes: > > > Finally this patch provides the ability for a process to > > allocate and free a protection key. > > This must be the last patch in the series. > > We don't want to expose a half working interface to userspace.
The way the patch series is organized -- this patch; even-though introduces the syscall, the syscall will fail because the pkey subsystem is enabled only by the last patch. Till than the code exists , but does a great job of failing with an appropriate return code. Hope this helps, RP