• Richard Weinberger's avatar
    um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP · 5d33c77b
    Richard Weinberger authored
    commit 0676b957c24bfb6e495449ba7b7e72c5b5d79233 upstream.
    
    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: default avatarRitesh Raj Sarraf <rrs@researchut.com>
    Signed-off-by: Richard Weinberger's avatarRichard Weinberger <richard@nod.at>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    5d33c77b
Name
Last commit
Last update
..
asm Loading commit data...
os-Linux Loading commit data...
shared/sysdep Loading commit data...
vdso Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
bugs_32.c Loading commit data...
bugs_64.c Loading commit data...
checksum_32.S Loading commit data...
delay.c Loading commit data...
elfcore.c Loading commit data...
fault.c Loading commit data...
ldt.c Loading commit data...
mem_32.c Loading commit data...
mem_64.c Loading commit data...
ptrace_32.c Loading commit data...
ptrace_64.c Loading commit data...
ptrace_user.c Loading commit data...
setjmp_32.S Loading commit data...
setjmp_64.S Loading commit data...
signal.c Loading commit data...
stub_32.S Loading commit data...
stub_64.S Loading commit data...
stub_segv.c Loading commit data...
sys_call_table_32.c Loading commit data...
sys_call_table_64.c Loading commit data...
syscalls_32.c Loading commit data...
syscalls_64.c Loading commit data...
sysrq_32.c Loading commit data...
sysrq_64.c Loading commit data...
tls_32.c Loading commit data...
tls_64.c Loading commit data...
user-offsets.c Loading commit data...