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-09-20 18:43:05 +01:00
2022-08-21 16:02:24 +02:00
2022-08-21 16:15:29 +02:00
2022-10-22 16:57:52 -04:00
2022-08-24 14:57:51 +02:00
2022-11-05 18:00:58 -06:00
2022-12-11 19:55:37 -07:00
2022-12-11 19:55:37 -07:00
2022-11-29 11:09:19 +01:00
2022-11-26 12:42:15 -07:00
2022-08-24 14:57:51 +02:00
2022-08-24 14:57:51 +02:00
2022-08-22 12:46:32 +02:00
2022-08-22 12:46:32 +02:00
2022-10-22 16:57:52 -04:00
2022-11-13 16:58:54 -07:00
2022-08-22 12:46:32 +02:00
2022-11-05 18:00:58 -06:00
2022-12-11 19:55:37 -07:00
2022-12-11 19:55:37 -07:00
2022-08-22 17:56:03 +02:00
2022-11-05 18:54:39 +01:00
2022-11-08 02:54:48 -07:00
2022-08-21 16:02:24 +02:00
2022-08-22 12:46:32 +02:00
2022-10-24 23:29:18 +01:00
2022-11-05 18:00:58 -06:00
2022-08-24 14:57:51 +02:00
2022-08-22 12:46:32 +02:00
2022-12-11 19:55:37 -07:00
2022-08-21 16:02:24 +02:00
2022-12-11 19:55:37 -07:00
2022-08-21 16:02:24 +02:00
2022-11-05 18:00:58 -06:00
2022-11-05 18:00:58 -06:00
2022-12-11 19:55:37 -07:00
2022-10-17 20:11:31 +02:00
2022-10-24 15:49:39 +02:00
2022-08-21 16:02:24 +02:00
2022-08-21 16:02:24 +02:00
2022-08-24 14:57:51 +02:00
2022-10-14 13:45:33 +02:00
2022-08-21 16:02:24 +02:00
2022-11-26 12:42:15 -07:00
2022-08-22 17:56:03 +02:00
2022-11-24 16:56:27 +01:00
2022-11-05 18:00:58 -06:00
2022-12-11 19:55:37 -07:00