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

* Re: [LTP] patch to define PTRACE_KILL and PTRACE_CONT
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Garrett Cooper @ 2010-10-04 13:48 UTC (permalink / raw)
  To: Yi Xu; +Cc: ltp-list

On Mon, Oct 4, 2010 at 6:08 AM, Yi Xu <yxu@suse.de> wrote:
> Hi,
>
> this patch solves compiling error that appears with certain GCC version.

Hi Yi,

You most likely need to fix your headers or your compiler:

[gcooper@bayonetta /scratch/ltp]$ grep -r __PTRACE_KILL__ .
[gcooper@bayonetta /scratch/ltp]$ grep -r __PTRACE_CONT__ .
[gcooper@bayonetta /scratch/ltp]$

Nowhere in the sourcebase are those symbols defined / used (at least
not directly).

Furthermore, rwatson@'s search indexer returns NIL for the symbol:

http://fxr.watson.org/fxr/trackident?v=linux-2.6;i=__PTRACE_KILL__

If you provided your error logs we might be able to help you...

Thanks,
-Garrett

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

* Re: [LTP] patch to define PTRACE_KILL and PTRACE_CONT
  2010-10-04 13:48 ` Garrett Cooper
@ 2010-10-06  8:02   ` Yi Xu
  2010-10-06 16:42     ` Garrett Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Xu @ 2010-10-06  8:02 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: ltp-list

Hi,

I couldn't reproduce it. :(
You could ignore the patch.

thanks,
Yi
On 10/04/2010 03:48 PM, Garrett Cooper wrote:
> On Mon, Oct 4, 2010 at 6:08 AM, Yi Xu <yxu@suse.de> wrote:
>> Hi,
>>
>> this patch solves compiling error that appears with certain GCC version.
> 
> Hi Yi,
> 
> You most likely need to fix your headers or your compiler:
> 
> [gcooper@bayonetta /scratch/ltp]$ grep -r __PTRACE_KILL__ .
> [gcooper@bayonetta /scratch/ltp]$ grep -r __PTRACE_CONT__ .
> [gcooper@bayonetta /scratch/ltp]$
> 
> Nowhere in the sourcebase are those symbols defined / used (at least
> not directly).
> 
> Furthermore, rwatson@'s search indexer returns NIL for the symbol:
> 
> http://fxr.watson.org/fxr/trackident?v=linux-2.6;i=__PTRACE_KILL__
> 
> If you provided your error logs we might be able to help you...
> 
> Thanks,
> -Garrett

-- 
Yi Xu                           yxu@suse.de
SUSE LINUX Products GmbH        R&D-OPS-QA
Maxfeldstr. 5                   +49 (0)911-74053 - 607
D-90409 Nuernberg               http://www.suse.de

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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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

* Re: [LTP] patch to define PTRACE_KILL and PTRACE_CONT
  2010-10-06  8:02   ` Yi Xu
@ 2010-10-06 16:42     ` Garrett Cooper
  0 siblings, 0 replies; 4+ messages in thread
From: Garrett Cooper @ 2010-10-06 16:42 UTC (permalink / raw)
  To: Yi Xu; +Cc: ltp-list

On Wed, Oct 6, 2010 at 1:02 AM, Yi Xu <yxu@suse.de> wrote:
> Hi,
>
> I couldn't reproduce it. :(
> You could ignore the patch.

Ok -- thanks for the feedback.
Cheers,
-Garrett

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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