Skip to content

ptrace: DEBUGCTLMSR_BTF fixes

Oleg Nesterov lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ptrace: introduce set_task_blockstep() helperarch/x86/kernel/step.c+21 -200 replies
2/2ptrace: partly fix set_task_blockstep()->update_debugctlmsr() logicarch/x86/kernel/step.c+13 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] ptrace: DEBUGCTLMSR_BTF fixes

Hello.

The subject says "ptrace:", but we need these changes for uprobes.

Although I think this fix makes sense by itself. I am really surprised how many problems this simple code has, or I am totally confused (this is very possible).

Could someone review 2/2 ?

The next step will change uprobes to use the new helper and avoid user_enable_single_step().

Oleg.