syscalls/ptrace04: Fix s390 build
PATCH 1/1 syscalls/ptrace04: Fix s390 build
s390 does not defined PTRACE_GETREGS
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/ptrace/ptrace04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/ptrace/ptrace04.c +1 -1
@@ -49,7 +49,7 @@ int TST_TOTAL = 2;void compare_registers (unsigned char poison) { -#ifdef HAVE_STRUCT_PTRACE_REGS +#if defined(HAVE_STRUCT_PTRACE_REGS ) && defined(PTRACE_GETREGS )ptrace_regs _pt_regs;size_t i;long ret;
Signature · 5 lines
2.41.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
The subject should have said [COMMITTED] since this fixes build failure and it's obvious minimal fix I just pushed the patch.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp