linux-hardened/arch/powerpc/include
Michael Ellerman 85beb1c486 powerpc/mm/hash: Check for non-kernel address in get_kernel_vsid()
get_kernel_vsid() has a very stern comment saying that it's only valid
for kernel addresses, but there's nothing in the code to enforce that.

Rather than hoping our callers are well behaved, add a check and return
a VSID of 0 (invalid).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-03-31 23:09:59 +11:00
..
asm powerpc/mm/hash: Check for non-kernel address in get_kernel_vsid() 2017-03-31 23:09:59 +11:00
uapi/asm powerpc: Wire up statx() syscall 2017-03-16 20:45:53 +11:00