-
Notifications
You must be signed in to change notification settings - Fork 396
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
Idea on how to fix: fork syscall bug #2671
Conversation
Concept ACK, but would be nice to add the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch! Please sign off and we can get it in!
yes, please add a test. |
Alright, I will work on that |
ca04287
to
fc07b2f
Compare
Signed-off-by: robertmin1 <104002271+robertmin1@users.noreply.github.com>
Since the current |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2671 +/- ##
==========================================
+ Coverage 75.43% 75.49% +0.05%
==========================================
Files 413 413
Lines 41963 41964 +1
==========================================
+ Hits 31654 31679 +25
+ Misses 10309 10285 -24
☔ View full report in Codecov by Sentry. |
Adding unix.PTRACE_O_TRACEEXEC to the Ptrace Options fixes the fork issue. This will enable us to avoid seeing the SIGTRAP signal. This option tells ptrace to generate a SIGTRAP signal immediately before a new program is executed with the execve system call.
Fixes: #2670 #2635 and #2590
Signed-off-by: Robert Mindo mindo.robert1@gmail.com