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 _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
