-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clone handler: handle individual flags more explicitly (#2935)
This is mostly a refactor in preparation for supporting fork. #1987 There are also a couple minor behavioral changes, that shouldn't affect any of our supported thread libraries: * Some flags that we don't actually care about are no longer required (e.g. CLONE_SYSVEM). * CLONE_SETTLS *is* now required. Previously we would have tried to go ahead and execute the native clone without it, but the shim would misbehave since it depends on thread local storage.
- Loading branch information
1 parent
6aafabf
commit 95ce333
Showing
1 changed file
with
131 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters