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

Michael Ellerman mpe at ellerman.id.au
Wed Oct 25 20:26:50 AEDT 2017


Ram Pai <linuxram at us.ibm.com> writes:

> 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.

See my previous mail :)

Please don't add the syscall until it can work.

cheers


More information about the Linuxppc-dev mailing list