[PATCH 08/25] powerpc: sys_pkey_alloc() and sys_pkey_free() system calls

Ram Pai linuxram at us.ibm.com
Wed Oct 25 05:34:50 AEDT 2017


On Tue, Oct 24, 2017 at 05:48:15PM +0200, Michael Ellerman wrote:
> Ram Pai <linuxram at 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



More information about the Linuxppc-dev mailing list