Re: [PATCH 0/5] hw_breakpoints: Fix racy ptrace breakpointacccesses

From: Frederic Weisbecker
Date: Mon Apr 25 2011 - 12:24:30 EST


On Fri, Apr 08, 2011 at 07:34:22PM +0200, Frederic Weisbecker wrote:
> I should have fixed that a few month ago but got sidetracked.
> Please have a look at this. x86 and powerpc already had support
> for breakpoints before so it fixes a regression there (cf stable tag)
> For the others it only a fix.
>
> Other archs than x86 have been only compile tested.
>
> Thanks.
>
> Frederic Weisbecker (5):
> ptrace: Prepare to fix racy accesses on task breakpoints
> x86, hw_breakpoints: Fix racy access to ptrace breakpoints
> powerpc, hw_breakpoints: Fix racy access to ptrace breakpoints
> arm, hw_breakpoints: Fix racy access to ptrace breakpoints
> sh, hw_breakpoints: Fix racy access to ptrace breakpoints

Thanks a lot guys for your acks. I'm reposting with these
and pushing for Ingo.

>
> arch/arm/kernel/ptrace.c | 8 ++++++++
> arch/powerpc/kernel/ptrace.c | 3 +++
> arch/sh/kernel/ptrace_32.c | 4 ++++
> arch/x86/kernel/ptrace.c | 36 ++++++++++++++++++++++++++----------
> include/linux/ptrace.h | 13 ++++++++++++-
> include/linux/sched.h | 3 +++
> kernel/exit.c | 2 +-
> kernel/ptrace.c | 17 +++++++++++++++++
> 8 files changed, 74 insertions(+), 12 deletions(-)
>
> --
> 1.7.3.2
>
--
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/