Commit 777dc994 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

types: PTRACE_SEIZE and PTRACE_INTERRUPT already defined in ptrace.h

On linux-3.1.1 (fc16) these constants already defined in system
ptrace.h
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent d0eec0e2
...@@ -17,8 +17,14 @@ ...@@ -17,8 +17,14 @@
#define GS_TLS 1 #define GS_TLS 1
/* some constants for ptrace */ /* some constants for ptrace */
#define PTRACE_SEIZE 0x4206 #ifndef PTRACE_SEIZE
#define PTRACE_INTERRUPT 0x4207 # define PTRACE_SEIZE 0x4206
#endif
#ifndef PTRACE_INTERRUPT
# define PTRACE_INTERRUPT 0x4207
#endif
#define PTRACE_LISTEN 0x4208 #define PTRACE_LISTEN 0x4208
#define PTRACE_SEIZE_DEVEL 0x80000000 #define PTRACE_SEIZE_DEVEL 0x80000000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment