diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-06-27 16:02:39 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 04:05:16 +0200 |
commit | 6c9c7d8fbc3a2a0cfed0e7a5b39581847b632f0b (patch) | |
tree | e311845cb16be9907549aa0e42704e47331792f2 /kernel/watchdog.c | |
parent | selftests/powerpc/ptrace: Use more interesting values (diff) | |
download | linux-6c9c7d8fbc3a2a0cfed0e7a5b39581847b632f0b.tar.xz linux-6c9c7d8fbc3a2a0cfed0e7a5b39581847b632f0b.zip |
selftests/powerpc/ptrace: Add peek/poke of FPRs
Currently the ptrace-gpr test only tests the GET/SET(FP)REGS ptrace
APIs. But there's an alternate (older) API, called PEEK/POKEUSR.
Add some minimal testing of PEEK/POKEUSR of the FPRs. This is sufficient
to detect the bug that was fixed recently in the 32-bit ptrace FPR
handling.
Depends-on: 8e1278444446 ("powerpc/32: Fix overread/overwrite of thread_struct via ptrace")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-13-mpe@ellerman.id.au
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions