diff options
author | Ram Pai <linuxram@us.ibm.com> | 2018-01-18 17:50:38 -0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-20 22:59:04 +1100 |
commit | bca7aacfe8be121ecefb3be609420220b0820c2c (patch) | |
tree | 8e49c046113a0e78973ccadb354507715d2a790c /arch/powerpc/lib/code-patching.c | |
parent | f2407ef3ba225665ee24965f69bc84435fb590cf (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