rr-debugger / rr-debugger/rr

PTRACE_O_EXITKILL returns "invalid argument"

Open
#3,575 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

Recording an application that traces another application and attempts to set the option PTRACE_O_EXITKILL (to make sure that the tracee dies, if the tracer dies, if I understand it correctly) fails during recording.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the recording failure described for an application that traces another application and sets PTRACE_O_EXITKILL. Investigate the recording path for this ptrace option; done means the described application can be recorded without the invalid-argument failure, with the option's intended behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.