Skip to content

RFC PTRACE_SEIZE && fork() fixes

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ptrace_init_task: initialize child->jobctl explicitlyinclude/linux/ptrace.h+7 -61 reply
2/3ptrace: mv send-SIGSTOP from do_fork() to ptrace_init_task()include/linux/ptrace.h kernel/fork.c+3 -120 replies
3/3ptrace: dont send SIGSTOP on auto-attach if PT_SEIZEDinclude/linux/ptrace.h+5 -11 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchTejun Heo
1/3A-b
2/3
3/3A-b

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/3] PTRACE_SEIZE && fork() fixes
Quoted 3 lines · Oleg Nesterov

Just to remind, tracehook_report_clone() shouldn't send SIGSTOP if the auto-attached tracee is PT_SEIZED.

I think it is the time to do this, everything else looks consistent.

The patches are simple but 3/3 needs the discussion and acks, this API is new.

Oleg.