Skip to content

RFC utrace/ptrace

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest14 patches 72 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ptrace: cleanup ptrace_init_task()->ptrace_link() pathinclude/linux/ptrace.h+3 -80 replies
2/14signals: check ->group_stop_count after tracehook_get_signal()kernel/signal.c+4 -50 replies
3/14ptrace: introduce user_single_step_siginfo() helperinclude/linux/ptrace.h+12 -00 replies
4/14ptrace: implement user_single_step_siginfo()arch/powerpc/include/asm/ptrace.h arch/powerpc/kernel/traps.c+11 -00 replies
5/14ptrace: change tracehook_report_syscall_exit() to handle steppinginclude/linux/tracehook.h+7 -00 replies
6/14ptrace: x86: implement user_single_step_siginfo()arch/x86/include/asm/ptrace.h arch/x86/kernel/ptrace.c+23 -90 replies
7/14ptrace: x86: change syscall_trace_leave() to rely on tracehook when steppingarch/x86/kernel/ptrace.c+7 -140 replies
8/14tracehooks: kill some PT_PTRACED checksinclude/linux/tracehook.h+3 -30 replies
9/14tracehooks: check PT_PTRACED before reporting the single-stepinclude/linux/tracehook.h+2 -20 replies
10/14ptrace_signal: check PT_PTRACED before reporting a signalkernel/signal.c+1 -10 replies
11/14export __ptrace_detach() and do_notify_parent_cldstop()include/linux/ptrace.h include/linux/sched.h kernel/ptrace.c +1 more+4 -20 replies
12/14reorder the code in kernel/ptrace.ckernel/ptrace.c+278 -2780 replies
13/14implement utrace-ptraceinclude/linux/ptrace.h kernel/Makefile kernel/ptrace-utrace.c +1 more+1119 -10 replies
14/14utrace coreDocumentation/DocBook/Makefile Documentation/DocBook/utrace.tmpl fs/proc/array.c +7 more+3861 -236 replies

Reviews trailers per patch

7 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRoland McGrath
SeriesA-b
1/14A-b
2/14A-b
3/14A-b
4/14A-b
5/14A-b
6/14A-b
7/14A-b
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC,PATCH 0/14] utrace/ptrace

Hello.

This is the new iteration of Roland's utrace patch, this time with "rewrite-ptrace-via-utrace" + cleanups in utrace core.

1-7 are already in -mm tree, I am sending them to simplify the review.

8-12 don not change the behaviour, simple preparations.

13-14 add utrace-ptrace and utrace

Please review.

Oleg.