Thread (47 messages) 47 messages, 9 authors, 2019-01-16

Re: [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere

From: Heiko Carstens <hidden>
Date: 2019-01-14 08:31:33
Also in: linux-alpha, linux-arm-kernel, linux-mips, linux-sh, linuxppc-dev, lkml, sparclinux

On Fri, Jan 11, 2019 at 06:30:43PM +0100, Arnd Bergmann wrote:
On Thu, Jan 10, 2019 at 9:36 PM Heiko Carstens
[off-list ref] wrote:
quoted
On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote:
quoted
Since you only need/want the system call numbers, could you please
change these lines to:
quoted
+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.
I don't think pkeys will ever work on s390, since they require a key
per mapping, while the s390 storage keys are per physical page.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help