summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/secure_boot.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2021-12-09 22:59:44 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2021-12-21 20:17:59 +1100
commita8968521cfdc3e339fe69473d6632e0aa8d7202a (patch)
treeb10268d15783dd29506430b430ba794a4cae0045 /arch/powerpc/kernel/secure_boot.c
parent9cbbe6bae938dd335a5092b0ce41f88cb39ba40c (diff)
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 <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211209115944.4062384-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/kernel/secure_boot.c')
0 files changed, 0 insertions, 0 deletions