Skip to content

ptrace/hw_breakpoint cleanups/fixes

Oleg Nesterov linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ptrace/x86: Revert "hw_breakpoints: Fix racy access to ptrace breakpoints"arch/x86/kernel/ptrace.c+5 -230 replies
2/13ptrace/powerpc: Revert "hw_breakpoints: Fix racy access to ptrace breakpoints"arch/powerpc/kernel/ptrace.c+0 -200 replies
3/13ptrace/arm: Revert "hw_breakpoints: Fix racy access to ptrace breakpoints"arch/arm/kernel/ptrace.c+0 -80 replies
4/13ptrace/sh: Revert "hw_breakpoints: Fix racy access to ptrace breakpoints"arch/sh/kernel/ptrace_32.c+0 -40 replies
5/13ptrace: Revert "Prepare to fix racy accesses on task breakpoints"include/linux/ptrace.h include/linux/sched.h kernel/exit.c +1 more+1 -300 replies
6/13ptrace/x86: simplify the "disable" logic in ptrace_write_dr7()arch/x86/kernel/ptrace.c+15 -250 replies
7/13ptrace/x86: dont delay "disable" till second pass in ptrace_write_dr7()arch/x86/kernel/ptrace.c+20 -330 replies
8/13ptrace/x86: introduce ptrace_register_breakpoint()arch/x86/kernel/ptrace.c+50 -360 replies
9/13ptrace/x86: ptrace_write_dr7() should create bp if !disabledarch/x86/kernel/ptrace.c+10 -70 replies
10/13ptrace/x86: cleanup ptrace_set_debugreg()arch/x86/kernel/ptrace.c+8 -180 replies
11/13ptrace: PTRACE_DETACH should do flush_ptrace_hw_breakpoint(child)kernel/ptrace.c+1 -01 reply
12/13ptrace/x86: flush_ptrace_hw_breakpoint() shoule clear the virtual debug registersarch/x86/kernel/hw_breakpoint.c+3 -00 replies
13/13x86: kill TIF_DEBUGarch/x86/include/asm/thread_info.h+1 -30 replies

Reviews trailers per patch

10 of 13 patches have a Reviewed-by or Acked-by.

PatchIngo MolnarFrederic WeisbeckerMichael NeulingWill Deacon
1/13A-b A-b
2/13A-b
3/13A-b
4/13
5/13A-b A-b
6/13A-b
7/13A-b
8/13A-b
9/13A-b
10/13A-b
11/13A-b
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/13] ptrace/hw_breakpoint cleanups/fixes

Hello.

Andrew, please find ptrace/hw_breakpoint changes I sent before.

No changes, I only added the acks I got.

4/13 (arch/sh) and the last 2 patches were not acked, but hopefully the changes are really simple.

Oleg.