public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] patch to define PTRACE_KILL and PTRACE_CONT
@ 2010-10-04 13:08 Yi Xu
  2010-10-04 13:48 ` Garrett Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Xu @ 2010-10-04 13:08 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

Hi,

this patch solves compiling error that appears with certain GCC version.

Regards,
Yi
-- 
Yi Xu                           yxu@suse.de

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

[-- Attachment #2: define_PTRACE_PARAM.patch --]
[-- Type: text/x-patch, Size: 540 bytes --]

--- 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

[-- Attachment #3: Type: text/plain, Size: 368 bytes --]

------------------------------------------------------------------------------
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

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-06 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04 13:08 [LTP] patch to define PTRACE_KILL and PTRACE_CONT Yi Xu
2010-10-04 13:48 ` Garrett Cooper
2010-10-06  8:02   ` Yi Xu
2010-10-06 16:42     ` Garrett Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox