Re: [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere
From: Arnd Bergmann
Date: Fri Jan 11 2019 - 12:31:03 EST
On Thu, Jan 10, 2019 at 9:36 PM Heiko Carstens
<heiko.carstens@xxxxxxxxxx> wrote:
> On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote:
> Since you only need/want the system call numbers, could you please
> change these lines to:
>
> > +384 common pkey_alloc - -
> > +385 common pkey_free - -
> > +386 common pkey_mprotect - -
>
> Otherwise it _looks_ like we would need compat wrappers here as well,
> even though all of them would just jump to sys_ni_syscall() in this
> case. Making this explicit seems to better.
Ok, fair enough. I considered doing this originally and then
decided against it for consistency with the asm-generic file,
but I don't care much either way.
Is this something you may want to add later? I'm not sure exactly
how pkey compares to s390 storage keys, or if this is something
completely unrelated.
Arnd