diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-12-31 02:43:17 -0500 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-12-31 07:50:09 +0000 |
commit | 94e246ac57b52346144fece3549820ed04b13058 (patch) | |
tree | f7088ae5dbd1d45a342e09ad302be49ac8832c79 | |
parent | 5e7470386ed8fc11c90fef345a5476ec8703c901 (diff) | |
download | strace-94e246ac57b52346144fece3549820ed04b13058.tar.gz strace-94e246ac57b52346144fece3549820ed04b13058.tar.bz2 strace-94e246ac57b52346144fece3549820ed04b13058.tar.xz |
Delete old PTRACE_{PEEK,POKE}USR logic
The code base has settled on PTRACE_{PEEK,POKE}USER (with an E) and has
logic in defs.h to make sure it's set sanely. Delete this old logic as
the defs.h takes care of it now.
* process.c: Delete PTRACE_PEEKUSR/PTRACE_POKEUSR defines.
* signal.c: Likewise.
* syscall.c: Delete PTRACE_PEEKUSR define.
* util.c: Likewise.
-rw-r--r-- | process.c | 6 | ||||
-rw-r--r-- | signal.c | 6 | ||||
-rw-r--r-- | syscall.c | 3 | ||||
-rw-r--r-- | util.c | 1 |
4 files changed, 0 insertions, 16 deletions
@@ -47,12 +47,6 @@ #ifdef HAVE_SYS_REG_H # include <sys/reg.h> -# ifndef PTRACE_PEEKUSR -# define PTRACE_PEEKUSR PTRACE_PEEKUSER -# endif -# ifndef PTRACE_POKEUSR -# define PTRACE_POKEUSR PTRACE_POKEUSER -# endif #endif #ifdef HAVE_LINUX_PTRACE_H @@ -37,12 +37,6 @@ #ifdef HAVE_SYS_REG_H # include <sys/reg.h> -# ifndef PTRACE_PEEKUSR -# define PTRACE_PEEKUSR PTRACE_PEEKUSER -# endif -# ifndef PTRACE_POKEUSR -# define PTRACE_POKEUSR PTRACE_POKEUSER -# endif #elif defined(HAVE_LINUX_PTRACE_H) # undef PTRACE_SYSCALL # ifdef HAVE_STRUCT_IA64_FPREG @@ -37,9 +37,6 @@ #ifdef HAVE_SYS_REG_H # include <sys/reg.h> -# ifndef PTRACE_PEEKUSR -# define PTRACE_PEEKUSR PTRACE_PEEKUSER -# endif #elif defined(HAVE_LINUX_PTRACE_H) # undef PTRACE_SYSCALL # ifdef HAVE_STRUCT_IA64_FPREG @@ -46,7 +46,6 @@ #ifdef HAVE_SYS_REG_H # include <sys/reg.h> -# define PTRACE_PEEKUSR PTRACE_PEEKUSER #elif defined(HAVE_LINUX_PTRACE_H) # undef PTRACE_SYSCALL # ifdef HAVE_STRUCT_IA64_FPREG |