aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2021-12-09 11:59:44 +0000
committerMichael Ellerman <[email protected]>2021-12-21 09:17:59 +0000
commita8968521cfdc3e339fe69473d6632e0aa8d7202a (patch)
treeb10268d15783dd29506430b430ba794a4cae0045 /arch/powerpc/lib/code-patching.c
parentpowerpc/dts: Remove "spidev" nodes (diff)
downloadkernel-a8968521cfdc3e339fe69473d6632e0aa8d7202a.tar.gz
kernel-a8968521cfdc3e339fe69473d6632e0aa8d7202a.zip
selftests/powerpc: Add a test of sigreturning to the kernel
We have a general signal fuzzer, sigfuz, which can modify the MSR & NIP before sigreturn. But the chance of it hitting a kernel address and also clearing MSR_PR is fairly slim. So add a specific test of sigreturn to a kernel address, both with and without attempting to clear MSR_PR (which the kernel must block). Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions