This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22433] New: linux x86/x86_64 <sys/ptrace.h> does not provide PTRACE_GET_THREAD_AREA (and more)
- From: "mark at chromium dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 13 Nov 2017 21:19:51 +0000
- Subject: [Bug libc/22433] New: linux x86/x86_64 <sys/ptrace.h> does not provide PTRACE_GET_THREAD_AREA (and more)
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22433
Bug ID: 22433
Summary: linux x86/x86_64 <sys/ptrace.h> does not provide
PTRACE_GET_THREAD_AREA (and more)
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: mark at chromium dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
PTRACE_GET_THREAD_AREA is missing from <sys/ptrace.h> on x86 and x86_64 Linux.
It’s provided by the kernel’s <asm/ptrace-abi.h>, and in turn by
<linux/ptrace.h>, but these are incompatible with glibc’s <sys/ptrace.h>.
<asm/ptrace-abi.h> offers:
#define PTRACE_GET_THREAD_AREA 25
Others missing (strictly Linux x86/x86_64-specific):
#define PTRACE_SET_THREAD_AREA 26
#ifdef __x86_64__
# define PTRACE_ARCH_PRCTL 30
#endif
#define PTRACE_SYSEMU 31
#define PTRACE_SYSEMU_SINGLESTEP 32
#define PTRACE_SINGLEBLOCK 33 /* resume execution until next branch
*/
--
You are receiving this mail because:
You are on the CC list for the bug.