Files
ladybird/Userland/Libraries/LibC
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-08-23 19:07:12 +01:00
2022-04-01 21:24:45 +01:00
2022-12-03 23:52:23 +00:00
2022-05-23 00:13:26 +02:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00
2022-08-23 19:07:12 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-07-08 22:27:38 +00:00
2022-08-23 19:07:12 +01:00
2022-11-25 23:13:16 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-05-12 15:01:32 +02:00
2022-10-15 13:16:24 +02:00
2022-08-23 19:07:12 +01:00
2022-11-08 11:51:19 +01:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-10-14 13:01:13 +02:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00
2022-04-01 21:24:45 +01:00
2022-11-29 11:04:21 +01:00
2022-04-01 21:24:45 +01:00
2022-10-14 13:37:29 +02:00
2022-10-14 13:37:29 +02:00
2022-12-03 23:52:23 +00:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00
2022-12-11 19:55:37 -07:00
2022-12-11 19:55:37 -07:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-06-30 11:57:49 +02:00
2022-06-30 11:57:49 +02:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00