Commit 7c8df286 authored by Committed by Linus Torvalds
ptrace: revert "Prepare to fix racy accesses on task breakpoints"
This reverts commit bf26c018 ("Prepare to fix racy accesses on task breakpoints"). The patch was fine but we can no longer race with SIGKILL after commit 9899d11f ("ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL"), the __TASK_TRACED tracee can't be woken up and ->ptrace_bps can't go away. Now that ptrace_get_breakpoints/ptrace_put_breakpoints have no callers, we can kill them and remove task->ptrace_bp_refcnt. Signed-off-by: Oleg Nesterov <firstname.lastname@example.org> Acked-by: Frederic Weisbecker <email@example.com> Acked-by: Michael Neuling <firstname.lastname@example.org> Cc: Benjamin Herrenschmidt <email@example.com> Cc: Ingo Molnar <firstname.lastname@example.org> Cc: Jan Kratochvil <email@example.com> Cc: Paul Mackerras <firstname.lastname@example.org> Cc: Paul Mundt <email@example.com> Cc: Will Deacon <firstname.lastname@example.org> Cc: Prasad <email@example.com> Cc: Russell King <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 1 addition and 30 deletions