]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
linux/aarch64: sync sys/ptrace.h with Linux 4.15 [BZ #22433]
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 29 Dec 2017 23:19:32 +0000 (23:19 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 10 Feb 2018 22:12:12 +0000 (22:12 +0000)
Remove compat-specific constants that were never exported by kernel
headers under these names.  Before linux commit v3.7-rc1~16^2~1 they
were exported with COMPAT_ prefix, and since that commit they are not
exported at all.

* sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
and PTRACE_SETHBPREGS.

ChangeLog
sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h

index ef07ca48e375ae2131e698a92c9f67475c7be171..43e045b450dbfa2418f577f90b039abda95d40ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-02-10  Dmitry V. Levin  <ldv@altlinux.org>
+
+       [BZ #22433]
+       * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
+       Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
+       and PTRACE_SETHBPREGS.
+
 2018-02-10  Zack Weinberg  <zackw@panix.com>
 
        [BZ #22830]
index 4be45b95ff83544bcea6a0b3ee229c142e7b4aeb..444edbb7029e900880ca2df3e0f500ce91a63220 100644 (file)
@@ -78,18 +78,10 @@ enum __ptrace_request
   PTRACE_DETACH = 17,
 #define PT_DETACH PTRACE_DETACH
 
-  PTRACE_GET_THREAD_AREA = 22,
-
   /* Continue and stop at the next entry to or return from syscall.  */
   PTRACE_SYSCALL = 24,
 #define PT_SYSCALL PTRACE_SYSCALL
 
-  /* Get all hardware breakpoint registers.  */
-  PTRACE_GETHBPREGS = 29,
-
-  /* Set all hardware breakpoint registers.  */
-  PTRACE_SETHBPREGS = 30,
-
   /* Set ptrace filter options.  */
   PTRACE_SETOPTIONS = 0x4200,
 #define PT_SETOPTIONS PTRACE_SETOPTIONS