[CRIU] [PATCH] config: use the same name in all palces for the PTRACE_PEEKSIGINFO feature

Andrey Vagin avagin at gmail.com
Tue Feb 23 14:20:04 PST 2016


From: Andrey Vagin <avagin at openvz.org>

Reported-by: Mr Jenkins
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 criu/Makefile.config  | 2 +-
 criu/include/ptrace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/Makefile.config b/criu/Makefile.config
index fb2a4a8..8ad1abc 100644
--- a/criu/Makefile.config
+++ b/criu/Makefile.config
@@ -14,7 +14,7 @@ ifeq ($(call pkg-config-check,libselinux),y)
         DEFINES	+= -DCONFIG_HAS_SELINUX
 endif
 
-FEATURES_LIST	:= TCP_REPAIR PRLIMIT STRLCPY STRLCAT PEEKSIGINFO_ARGS \
+FEATURES_LIST	:= TCP_REPAIR PRLIMIT STRLCPY STRLCAT PTRACE_PEEKSIGINFO \
 	SETPROCTITLE_INIT MEMFD
 
 # $1 - config name
diff --git a/criu/include/ptrace.h b/criu/include/ptrace.h
index 047b1e2..dfc5ecd 100644
--- a/criu/include/ptrace.h
+++ b/criu/include/ptrace.h
@@ -31,7 +31,7 @@
 #define PTRACE_PEEKSIGINFO_SHARED       (1 << 0)
 #endif
 
-#ifndef CONFIG_HAS_PEEKSIGINFO_ARGS
+#ifndef CONFIG_HAS_PTRACE_PEEKSIGINFO
 struct ptrace_peeksiginfo_args {
         __u64 off;	/* from which siginfo to start */
         __u32 flags;
-- 
2.5.0



More information about the CRIU mailing list