SHA256
1
0
forked from pool/glibc
glibc/aarch64-sys-ptrace-update.patch
Andreas Schwab ef65d0fef2 Accepting request 590321 from home:Andreas_Schwab:Factory
- pkey-get-reserved-name.patch: Linux: use reserved name __key in pkey_get
  (BZ #22797)
- aarch64-sys-ptrace-update.patch: linux/aarch64: sync sys/ptrace.h with
  Linux 4.15 (BZ #22433)
- powerpc-sys-ptrace-undefine-macros.patch: powerpc: Undefine Linux ptrace
  macros that conflict with __ptrace_request
- powerpc-sys-ptrace-update.patch: linux/powerpc: sync sys/ptrace.h with
  Linux 4.15 (BZ #22433, BZ #22807)
- netgroup-cache-keys.patch: Fix netgroup cache keys (BZ #22342)
- i386-sigaction-sa-restorer.patch: i386: Fix i386 sigaction sa_restorer
  initialization (BZ #21269)
- riscv-tls-init.patch: RISC-V: Do not initialize $gp in TLS macros
- riscv-fmax-fmin-nan.patch: RISC-V: fmax/fmin: Handle signalling NaNs
  correctly (BZ #22884)

OBS-URL: https://build.opensuse.org/request/show/590321
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=499
2018-03-22 13:50:37 +00:00

31 lines
1008 B
Diff

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.
Index: glibc-2.27/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
===================================================================
--- glibc-2.27.orig/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
+++ glibc-2.27/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
@@ -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