This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21539] New: S390: Mismatch between kernel and glibc ptrace.h with request 12: PTRACE_SINGLEBLOCK vs PTRACE_GETREGS.
- From: "stli at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 02 Jun 2017 08:26:52 +0000
- Subject: [Bug libc/21539] New: S390: Mismatch between kernel and glibc ptrace.h with request 12: PTRACE_SINGLEBLOCK vs PTRACE_GETREGS.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21539
Bug ID: 21539
Summary: S390: Mismatch between kernel and glibc ptrace.h with
request 12: PTRACE_SINGLEBLOCK vs PTRACE_GETREGS.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: stli at linux dot vnet.ibm.com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
On s390, there is a mismatch for request 12 between kernel and glibc ptrace.h.
<glibc>/sysdeps/unix/sysv/linux/s390/sys/ptrace.h:
/* Get all general purpose registers used by a processes.
This is not supported on all machines. */
PTRACE_GETREGS = 12,
#define PT_GETREGS PTRACE_GETREGS
<kernel>/arch/s390/include/uapi/asm/ptrace.h:
#define PTRACE_SINGLEBLOCK 12 /* resume execution until next branch
*/
>From the kernel perspective PTRACE_GETREGS/PTRACE_SETREGS has never existed on
s390/s390x. The definitions in glibc header has always been wrong and no
application could have been expected to work.
Thus the glibc definitions have to be adjusted in order to match the kernel
ones.
--
You are receiving this mail because:
You are on the CC list for the bug.