Fixes and cleanups in PTRACE_SETOPTIONS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ptrace: don't modify flags on PTRACE_SETOPTIONS failurekernel/ | +4 | 4 replies | |
| 2/2 | ptrace: simplify PTRACE_foo constants and PTRACE_SETOPTIONS codeinclude/ kernel/ | +23 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Tejun Heo |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Fixes and cleanups in PTRACE_SETOPTIONS
This patchset has two changes.
First patch makes ptrace(PTRACE_SETOPTIONS, pid, 0, <bogus value>) to error out *without* changing any task->ptrace bits.
Second patch is a cleanup: PTRACE_SETOPTIONS code clears all option bits in task->ptrace, then sets bits one-by-one. This is butt-ugly.
Signature · 1 line
vda