Emulate PTRACE_O_EXITKILL
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp, linux
- Domain
- devtools, operating-systems
Research direction
Start with the PTRACE_O_EXITKILL comment in src/Task.cc around line 3744, then trace how rr handles ptrace options for recorded tracees. Add support for tracees using PTRACE_O_EXITKILL while preserving the ability to record rr replay, and verify the relevant recording and replay behavior.
Written by the indexing model from the issue text.
Description
As the comment at https://github.com/rr-debugger/rr/blob/aaed29dc0324444e36503a26dcec96731d1942b0/src/Task.cc#L3744 points out, PTRACE_O_EXITKILL was added in kernel 3.8. Our minimum kernel version is well past that these days, but ironically, rr itself doesn't support recording tracees PTRACE_O_EXITKILL so we can't use it unconditionally without breaking the ability to rr record rr replay. Supporting PTRACE_O_EXITKILL in tracees would allow us to use PTRACE_O_EXITKILL unconditionally.
I don't think this would be difficult, might make a good first bug for someone.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rr-debugger/rr
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rr-debugger/rr#4096 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rr-debugger/rr#4093 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rr-debugger/rr#4090 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
rr-debugger/rr#4060 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
rr-debugger/rr#4059 · 1 comment ·
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·