From a5320f3ce2cfe8633a32730c3323238cbf673440 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 7 Aug 2017 10:32:47 +0200 Subject: [PATCH] * include/system/sys/ptrace.h: New file. From-SVN: r250910 --- libsanitizer/ChangeLog | 4 ++++ libsanitizer/include/system/sys/ptrace.h | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 libsanitizer/include/system/sys/ptrace.h diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 75c9f0cecd0..5c20f7da931 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,7 @@ +2017-08-07 Jakub Jelinek + + * include/system/sys/ptrace.h: New file. + 2017-07-28 Jakub Jelinek PR sanitizer/80998 diff --git a/libsanitizer/include/system/sys/ptrace.h b/libsanitizer/include/system/sys/ptrace.h new file mode 100644 index 00000000000..1cfe4ce96e0 --- /dev/null +++ b/libsanitizer/include/system/sys/ptrace.h @@ -0,0 +1,7 @@ +#include_next +#ifndef PTRACE_GETREGSET +/* glibc before + https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=cbff0d9689c4d68578b6a4f0a17807232506ea27 + doesn't define PTRACE_GETREGSET. */ +#define PTRACE_GETREGSET 0x4204 +#endif -- 2.30.2