Commit 3929e1d9 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

criu: Move ptrace_peeksiginfo_args into separate header

The rest is to be moved into compel, while this particular
strucure is only needed by criu.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent e2e6d3ae
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include "mount.h" #include "mount.h"
#include "tty.h" #include "tty.h"
#include "ptrace.h" #include "ptrace.h"
#include "ptrace-compat.h"
#include "kerndat.h" #include "kerndat.h"
#include "timerfd.h" #include "timerfd.h"
#include "util.h" #include "util.h"
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include "servicefd.h" #include "servicefd.h"
#include "string.h" #include "string.h"
#include "ptrace.h" #include "ptrace.h"
#include "ptrace-compat.h"
#include "util.h" #include "util.h"
#include "namespaces.h" #include "namespaces.h"
#include "image.h" #include "image.h"
......
#ifndef __CR_PTRACE_ARCH_H__
#define __CR_PTRACE_ARCH_H__
#include <linux/types.h>
#include <sys/ptrace.h>
#include "config.h"
#ifndef CONFIG_HAS_PTRACE_PEEKSIGINFO
struct ptrace_peeksiginfo_args {
__u64 off; /* from which siginfo to start */
__u32 flags;
__u32 nr; /* how may siginfos to take */
};
#endif
#endif /* __CR_PTRACE_ARCH_H__ */
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <sys/ptrace.h> #include <sys/ptrace.h>
#include "config.h"
#include "proc_parse.h" #include "proc_parse.h"
/* some constants for ptrace */ /* some constants for ptrace */
...@@ -31,14 +30,6 @@ ...@@ -31,14 +30,6 @@
#define PTRACE_PEEKSIGINFO_SHARED (1 << 0) #define PTRACE_PEEKSIGINFO_SHARED (1 << 0)
#endif #endif
#ifndef CONFIG_HAS_PTRACE_PEEKSIGINFO
struct ptrace_peeksiginfo_args {
__u64 off; /* from which siginfo to start */
__u32 flags;
__u32 nr; /* how may siginfos to take */
};
#endif
#ifndef PTRACE_GETREGSET #ifndef PTRACE_GETREGSET
# define PTRACE_GETREGSET 0x4204 # define PTRACE_GETREGSET 0x4204
# define PTRACE_SETREGSET 0x4205 # define PTRACE_SETREGSET 0x4205
......
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