uprobes: register/unregister bugfixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | uprobes/x86: Only rep+nop can be emulated correctlyarch/ | +2 | 1 reply | |
| 2/7 | uprobes: Don't return success if alloc_uprobe() failskernel/ | +3 | 1 reply | |
| 3/7 | uprobes: Do not delete uprobe if uprobe_unregister() failskernel/ | +6 | 1 reply | |
| 4/7 | uprobes: Fix handle_swbp() vs unregister() + register() racekernel/ | +11 | 6 replies | |
| 5/7 | uprobes: Introduce uprobe_copy_insn()include/ kernel/ | +41 | 5 replies | |
| 6/7 | uprobes: Fix uprobe_copy_insn() race with itselfkernel/ | +8 | 1 reply | |
| 7/7 | uprobes: Fix the racy uprobe->flags manipulationkernel/ | +14 | 2 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Srikar Dronamraju |
|---|---|
| 1/7 | A-b |
| 2/7 | A-b |
| 3/7 | A-b |
| 4/7 | A-b A-b A-b |
| 5/7 | A-b A-b |
| 6/7 | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] uprobes: register/unregister bugfixes
Hello.
Misc bugfixes, mostly register/unregister related.
Note: 4/7 and especially 6/7 are the really ugly (but hopefully temporary) hacks. We already discussed this, we should inspect the original insn in uprobe_register(). But this is not easy, and we need something simple to fix (some of) the bugs right now.
Even 7/7 is ugly. Imho UPROBE_SKIP_SSTEP should die as well but this is another story.
Oleg.
arch/x86/kernel/uprobes.c | 16 +------ include/linux/uprobes.h | 10 ---- kernel/events/uprobes.c | 107 +++++++++++++++++++++++++++++++------------- 3 files changed, 77 insertions(+), 56 deletions(-)