Hi,
this patch solves compiling error that appears with certain GCC version.
Regards,
Yi
--
Yi Xu [email protected]
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--- testcases/kernel/syscalls/ptrace/ptrace.h.orig 2010-09-13 15:46:24.145591000 +0200
+++ testcases/kernel/syscalls/ptrace/ptrace.h 2010-09-13 16:18:40.732974000 +0200
@@ -4,6 +4,15 @@
#ifndef __LTP_PTRACE_H__
#define __LTP_PTRACE_H__
+#endif
+
+#ifndef __PTRACE_KILL__
+#define __PTRACE_KILL__
+#endif
+
+#ifndef __PTRACE_CONT__
+#define __PTRACE_CONT__
+#endif
#ifdef HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
@@ -30,4 +39,3 @@ typedef struct pt_regs ptrace_regs;
typedef struct user_regs_struct ptrace_regs;
#endif
-#endif
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list