-
Notifications
You must be signed in to change notification settings - Fork 351
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
Add a no-clone3
feature to disable clone3
#2419
Conversation
no-clone3
feature to disable clone3
Hey, actually I was also trying the same here #2418 which either takes clone3 or clone depending on feature without any fallback. Its failing some tests, so need to see that there. |
dda2902
to
ce0d754
Compare
ce0d754
to
ca431fd
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2419 +/- ##
==========================================
- Coverage 66.01% 66.01% -0.01%
==========================================
Files 133 133
Lines 16832 16822 -10
==========================================
- Hits 11112 11105 -7
+ Misses 5720 5717 -3 |
83d2216
to
fa95416
Compare
Hey, there's one conflict due to recent merge in master, can you rebase? Also I saw your comment on my PR regarding failing test, I'll try to get to that, or if this is done first/ has more preferable approach, we can go ahead with this. Also a nit, personal preference : can the feature name be "positive" i.e. instead of |
I thought about that and my concern is that when we request |
Signed-off-by: Jorge Prendes <[email protected]>
56202d8
to
dd324aa
Compare
Rebased :-) |
Converting to draft as this doesn't fix the sporadic failures in containerd/runwasi#347 |
@jprendes Can we close this PR? |
This PR adds a
no-clone3
feature that disables the use ofclone3
inlibcontainer
.This can be used to counteract the undefined behaviour introduced by using a raw
sysall
forclone3
, which leads to problem inmusl
and onglibc
when the main process uses threads.See containerd/runwasi#347