-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial import of the semi-autonomous loader.
The previous loader is remotely controlled, as a consequence it is quite slow. This new loader tries to solve this issue. For example, using this benchmak: time proot perl -e 'system("/usr/bin/true") for (1..10000)' we get these figures: ====== ======== time (s) ====== ======== v4.0.3 9.95 HEAD^ 13.20 HEAD 11.21 ====== ======== ========== ====== ====== ====== comparison v4.0.3 HEAD^ HEAD ========== ====== ====== ====== v4.0.3 -33% -13% HEAD^ +25% +15% HEAD +11% -18% ========== ====== ====== ====== I think it's possible to reduce the overhead by making the semi-autonomous loader patch the ELF auxiliary vectors.
- Loading branch information
1 parent
8d9816a
commit 1e9c14f
Showing
10 changed files
with
501 additions
and
20 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
Oops, something went wrong.