Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle PTRACE_EVENT_* events for child processes/threads. #224

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fvalasiad
Copy link
Collaborator

While we so far support clone(2), fork(2), vfork(2), there are other variants we don't. In my testing I found a case where gcc utilized clone3(2), resulting in build-recorder not recording the process creation step.

This commit follows a second approach utilizing the signals ptrace(2) delivers to inform the tracer of a new process or thread.

While we so far support clone(2), fork(2), vfork(2), there
are other variants we don't. In my testing I found a case
where gcc utilized clone3(2), resulting in build-recorder
not recording the process creation step.

This commit follows a second approach utilizing the signals
ptrace(2) delivers to inform the tracer of a new process
or thread.

Signed-off-by: Fotios Valasiadis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant