Re: [uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-12 Thread Pierre Morel
MAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- = Pierre Morel RTOS and Embedded Linux - This SF.Net e

Re: [uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-12 Thread Pierre Morel
switch. I will provide a test program and plan to release a tracing tool based on it. I think I can reduce the task struct modification by using just a bit like you suggest if nobody seen any problem with this. best regards, Pierre Oleg Nesterov wrote: > On 09/10, Pierre Morel wrote:

Re: [uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-12 Thread Pierre Morel
Hi Dave, Dave Hansen wrote: > On Mon, 2008-09-08 at 14:02 +0200, Pierre Morel wrote: > >> + if (is_self_ptracing(regs->gprs[2])) { >> + if (!entryexit) { >> + struct siginfo info; >> + >> +

Re: [uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-10 Thread Pierre Morel
Hello, Oleg Nesterov wrote: > On 09/08, Pierre Morel wrote: > >> --- linux-2.6.26.orig/arch/s390/kernel/signal.c >> +++ linux-2.6.26/arch/s390/kernel/signal.c >> @@ -409,6 +409,11 @@ handle_signal(unsigned long sig, struct >> spin_u

Re: [uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-10 Thread Pierre Morel
Hi, Andrew Morton wrote: > On Mon, 08 Sep 2008 14:02:01 +0200 > Pierre Morel <[EMAIL PROTECTED]> wrote: > > >> Subject: [PATCH] system call notification with self_ptrace >> >> From: Pierre Morel <[EMAIL PROTECTED]> >> >> >> PTR

[uml-devel] [PATCH 1/1] system call notification with self_ptrace

2008-09-08 Thread Pierre Morel
Subject: [PATCH] system call notification with self_ptrace From: Pierre Morel <[EMAIL PROTECTED]> PTRACE SELF This patch adds a new functionality to ptrace: system call notification to the current process. When a process requests self ptrace, with the new request PTRACE_SELF_ON: 1. th