Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Roland McGrath
> > --- a/arch/x86/kernel/ptrace.c > > +++ b/arch/x86/kernel/ptrace.c > > @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct > > *child, > > void ptrace_disable(struct task_struct *child) > > { > > user_disable_single_step(child); > > +#ifdef TIF_SYSCALL_EMU > >

Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Andrew Morton
On Thu, 29 Nov 2007 04:00:14 -0800 (PST) Roland McGrath <[EMAIL PROTECTED]> wrote: > --- a/arch/x86/kernel/ptrace.c > +++ b/arch/x86/kernel/ptrace.c > @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct > *child, > void ptrace_disable(struct task_struct *child) > { >

[PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Roland McGrath
This adds 64-bit support to arch_ptrace in arch/x86/kernel/ptrace.c, so this function can be used for native ptrace on both 32 and 64. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86/kernel/ptrace.c | 65 - 1 files changed, 35

[PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Roland McGrath
This adds 64-bit support to arch_ptrace in arch/x86/kernel/ptrace.c, so this function can be used for native ptrace on both 32 and 64. Signed-off-by: Roland McGrath [EMAIL PROTECTED] --- arch/x86/kernel/ptrace.c | 65 - 1 files changed, 35

Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Andrew Morton
On Thu, 29 Nov 2007 04:00:14 -0800 (PST) Roland McGrath [EMAIL PROTECTED] wrote: --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct *child, void ptrace_disable(struct task_struct *child) {

Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Roland McGrath
--- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct *child, void ptrace_disable(struct task_struct *child) { user_disable_single_step(child); +#ifdef TIF_SYSCALL_EMU