-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce clone_internal similar to Linux's kernel_clone and reimplement clone and implement clone3 in terms of it. Most of Linux's clone3 functionality is irrelevant to Nanos. The main thing we are concerned about is the stack. The stack size is now passed to the kernel and the stack pointer points to the bottom of the stack instead of the top. It seems that at some point glibc started using clone3. This get's programs linked against glibc-2.35 to run.
- Loading branch information
1 parent
7cdb1d3
commit 20dd6d9
Showing
3 changed files
with
105 additions
and
37 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
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
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