summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2018-01-18 17:50:38 -0800
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-20 22:59:04 +1100
commitbca7aacfe8be121ecefb3be609420220b0820c2c (patch)
tree8e49c046113a0e78973ccadb354507715d2a790c /arch/powerpc/lib/code-patching.c
parentf2407ef3ba225665ee24965f69bc84435fb590cf (diff)
powerpc: check key protection for user page access
Make sure that the kernel does not access user pages without checking their key-protection. Signed-off-by: Ram Pai <linuxram@us.ibm.com> [mpe: Integrate with upstream version of pte_access_permitted()] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions