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)
commit99cd1302327a2ccaedf905e9f6a8d8fd234bd485
treefe969743ada5b66e4bfe93eb960d3eb3265ea8d8
parent087003e9ef7c1c5bec932387e47511429eff2a54
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