]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Deliver SEGV signal on pkey violation
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:42 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:05 +0000 (22:59 +1100)
commitf2f56d5cc172e0ae38bb1e1f81f294abd5542849
treefe969743ada5b66e4bfe93eb960d3eb3265ea8d8
parent8afc944b25c546d6fa90b0729eef1385fcc691f1
powerpc: Deliver SEGV signal on pkey violation

The value of the pkey, whose protection got violated,
is made available in si_pkey field of the siginfo structure.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/bug.h
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c