mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
![]() 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. |
||
---|---|---|
.. | ||
POSIX | ||
Device.h | ||
DeviceEvent.h | ||
Graphics.h | ||
InodeWatcherEvent.h | ||
InodeWatcherFlags.h | ||
KeyCode.h | ||
MemoryLayout.h | ||
MousePacket.h | ||
serenity_limits.h | ||
Syscall.h | ||
SyscallString.h | ||
TimePage.h | ||
Unveil.h | ||
VirGL.h |