mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
ef6921d7c7
Some programs explicitly ask for a different initial stack size than what the OS provides. This is implemented in ELF by having a PT_GNU_STACK header which has its p_memsz set to the amount that the program requires. This commit implements this policy by reading the p_memsz of the header and setting the main thread stack size to that. ELF::Image::validate_program_headers ensures that the size attribute is a reasonable value. |
||
---|---|---|
.. | ||
net | ||
netinet | ||
sys | ||
dirent.h | ||
errno.h | ||
fcntl.h | ||
futex.h | ||
ifaddrs.h | ||
poll.h | ||
sched.h | ||
serenity.h | ||
signal.h | ||
stdio.h | ||
termios.h | ||
time.h | ||
ucontext.h | ||
unistd.h |