Skip to content

ptrace: remove PT_DTRACE from arch/* except arch/um

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ptrace: remove PT_DTRACE from arch/h8300arch/h8300/kernel/asm-offsets.c+0 -11 reply
2/4ptrace: remove PT_DTRACE from avr32, mn10300, parisc, s390, sh, xtensaarch/avr32/kernel/process.c arch/mn10300/kernel/process.c arch/parisc/hpux/fs.c +7 more+0 -415 replies
3/4ptrace: remove PT_DTRACE from m68k, m68knommuarch/m68k/kernel/traps.c arch/m68knommu/kernel/asm-offsets.c arch/m68knommu/kernel/traps.c+0 -35 replies
4/4ptrace: remove PT_DTRACE from arch/m32rarch/m32r/kernel/process.c arch/m32r/kernel/ptrace.c+0 -91 reply

Reviews trailers per patch

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

PatchRoland McGrathPaul MundtGreg UngererKyle McMartinHirokazu TakataGeert UytterhoevenChris ZankelMartin SchwidefskyHaavard SkinnemoenYoshinori Sato
SeriesA-b
1/4A-b
2/4A-b A-b A-b A-b A-b
3/4A-b A-b
4/4A-b

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

Read the v1 thread

Cover letter [PATCH 0/4] ptrace: remove PT_DTRACE from arch/* except arch/um

As Roland pointed out, PT_DTRACE is not actually used except in uml and should die.

Remove it from h8300, avr32, mn10300, parisc, s390, sh, xtensa, m68k, m68knommu, m32r. The patches are rather simple (but untested), I tried to split the changes by "category".

With this series arch/um is the only one who uses PT_DTRACE and thinks task_lock() is needed for ptrace related code. This will be addressed later (tanks Jeff for your reply).

Oleg.