[CRIU] [PATCH] ptrace: check, that PTRACE_LISTEN isn't defined yet
Pavel Emelyanov
xemul at parallels.com
Mon Dec 23 01:54:32 PST 2013
On 12/22/2013 12:50 AM, Andrew Vagin wrote:
> In file included from arch/x86/crtools.c:11:0:
> include/ptrace.h:16:0: error: "PTRACE_LISTEN" redefined [-Werror]
> #define PTRACE_LISTEN 0x4208
> ^
> In file included from include/ptrace.h:5:0,
> from arch/x86/crtools.c:11:
> /usr/include/sys/ptrace.h:150:0: note: this is the location of the previous definition
> #define PTRACE_LISTEN PTRACE_LISTEN
> ^
> cc1: all warnings being treated as errors
> make[1]: *** [arch/x86/crtools.o] Error 1
>
> Signed-off-by: Andrew Vagin <avagin at openvz.org>
applied
More information about the CRIU
mailing list