um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP
authorRichard Weinberger <richard@nod.at>
Fri, 15 Jun 2018 14:42:54 +0000 (16:42 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 29 Oct 2018 21:23:10 +0000 (22:23 +0100)
commit0676b957c24bfb6e495449ba7b7e72c5b5d79233
tree9b24852eaabaf80a9c64008777025f46a87afd25
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP

32bit UML used to define PTRACE_SYSEMU and PTRACE_SYSEMU_SINGLESTEP
own its own because many years ago not all libcs had these request codes
in their UAPI.
These days PTRACE_SYSEMU/_SINGLESTEP is well known and part of glibc
and our own define becomes problematic.

With change c48831d0eebf ("linux/x86: sync sys/ptrace.h with Linux 4.14
[BZ #22433]") glibc turned PTRACE_SYSEMU/_SINGLESTEP into a enum and
UML failed to build.

Let's drop our define and rely on the fact that every libc has
PTRACE_SYSEMU/_SINGLESTEP.

Cc: <stable@vger.kernel.org>
Cc: Ritesh Raj Sarraf <rrs@researchut.com>
Reported-and-tested-by: Ritesh Raj Sarraf <rrs@researchut.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/shared/sysdep/ptrace_32.h