diff options
| author | Michael Ellerman <[email protected]> | 2021-12-09 11:59:44 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-12-21 09:17:59 +0000 |
| commit | a8968521cfdc3e339fe69473d6632e0aa8d7202a (patch) | |
| tree | b10268d15783dd29506430b430ba794a4cae0045 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/dts: Remove "spidev" nodes (diff) | |
| download | kernel-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
