forked from shadow/shadow
-
Notifications
You must be signed in to change notification settings - Fork 0
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
This is mostly a refactor in preparation for supporting fork. shadow#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
0062292
commit 09aac65
Showing
1 changed file
with
108 additions
and
13 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