Files
ladybird/Kernel/API/POSIX/sys
sin-ack ef6921d7c7 Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve
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.
2022-12-11 19:55:37 -07:00
..
2022-02-28 20:09:37 +01:00
2022-05-21 18:15:00 +02:00
2022-05-05 20:47:38 +02:00
2022-06-17 10:59:26 +02:00