[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1302284067-7860-1-git-send-email-fweisbec@gmail.com>
Date: Fri, 8 Apr 2011 19:34:22 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Oleg Nesterov <oleg@...hat.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Will Deacon <will.deacon@....com>,
Prasad <prasad@...ux.vnet.ibm.com>,
Paul Mundt <lethal@...ux-sh.org>,
"v2 . 6 . 33 . ." <stable@...nel.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: [PATCH 0/5] hw_breakpoints: Fix racy ptrace breakpoint acccesses
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
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists