[PATCH 0/2] (Was: ptrace: PTRACE_DETACH should doflush_ptrace_hw_breakpoint(child))

From: Oleg Nesterov
Date: Tue Apr 30 2013 - 14:57:01 EST


On 04/30, Oleg Nesterov wrote:
>
> On 04/30, Frederic Weisbecker wrote:
> >
> > > Btw. perhaps flush_ptrace_hw_breakpoint() should also clear the
> > > virtual registers like thread.debugreg7 ? Even without this patch,
> > > flush_ is also called exec.
> >
> > Yeah makes sense.
>
> OK, and probably debugreg6 too, but I need to recheck.

Yes, looks like it should be cleared and we did this before.

And I think this change makes sense in this series, so could you
review this patch too?

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/