mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:37:34 +00:00
LibC: Avoid unnecessary mprotect during program initialization
For 'true', this shaves off about 69 syscalls, as measured by strace.
This commit is contained in:
parent
2801323236
commit
2158e1a6b9
3 changed files with 15 additions and 3 deletions
|
@ -15,6 +15,7 @@ typedef void (*AtExitFunction)(void*);
|
|||
extern void __libc_init();
|
||||
extern void __malloc_init();
|
||||
extern void __stdio_init();
|
||||
extern void __begin_atexit_locking();
|
||||
extern void _init();
|
||||
extern bool __environ_is_malloced;
|
||||
extern bool __stdio_is_initialized;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue