[PATCH 2/2] x86/tools/testing: add test for ARCH_SET_COMPAT

2016-04-06 Thread Dmitry Safonov
This is simple test to determine if arch_prctl(ARCH_SET_COMPAT) is working by ptracing switched application with PTRACE_GETREGS - it should return 32-bit registers set. Cc: Cyrill Gorcunov Cc: Pavel Emelyanov Cc: Konstantin Khorenko

[PATCH 2/2] x86/tools/testing: add test for ARCH_SET_COMPAT

2016-04-06 Thread Dmitry Safonov
This is simple test to determine if arch_prctl(ARCH_SET_COMPAT) is working by ptracing switched application with PTRACE_GETREGS - it should return 32-bit registers set. Cc: Cyrill Gorcunov Cc: Pavel Emelyanov Cc: Konstantin Khorenko CC: Dmitry Safonov <0x7f454...@gmail.com> Signed-off-by: