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-10-14 13:01:13 +02:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-08-23 19:07:12 +01:00
2022-08-23 19:07:12 +01:00
2022-12-11 19:55:37 -07:00
2022-04-01 21:24:45 +01:00
2022-12-03 23:52:23 +00:00
2022-09-18 18:30:05 -07:00
2022-11-01 14:49:09 +00:00
2022-05-23 00:13:26 +02:00
2022-08-23 19:07:12 +01:00
2022-11-29 11:04:21 +01:00
2022-06-30 12:34:16 +01:00
2022-06-30 12:34:16 +01:00
2022-07-19 20:58:51 -07:00
2022-04-01 21:24:45 +01:00
2022-08-23 19:07:12 +01:00
2022-12-06 08:54:33 +01:00
2022-09-05 10:12:02 +01:00
2022-12-11 19:55:37 -07:00
2022-05-08 13:04:32 -07:00
2022-04-21 11:49:48 +02:00
2022-11-29 11:09:19 +01:00
2022-08-23 19:07:12 +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-11-29 13:59:47 +00:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-07-08 22:27:38 +00:00
2022-08-23 19:07:12 +01:00
2022-12-06 08:54:33 +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-06-17 21:53:28 +01:00
2022-04-01 21:24:45 +01:00
2022-04-21 11:49:48 +02:00
2022-12-11 19:55:37 -07:00
2022-10-10 12:23:12 +02:00
2022-09-29 09:02:17 -04:00
2022-04-01 21:24:45 +01:00
2022-09-16 05:39:28 +00:00
2022-11-03 20:17:09 -06:00
2022-09-16 16:09:19 +00:00
2022-04-01 21:24:45 +01:00
2022-12-06 08:54:33 +01:00
2022-05-12 15:01:32 +02:00
2022-10-15 13:16:24 +02:00
2022-07-22 10:07:15 -07:00
2022-08-23 19:07:12 +01:00
2022-07-22 10:07:15 -07:00
2022-07-21 16:39:22 +02:00
2022-07-21 16:39:22 +02:00
2022-07-19 20:58:51 -07:00
2022-12-11 19:55:37 -07:00
2022-10-24 15:49:39 +02:00
2022-12-06 08:54:33 +01:00
2022-11-08 11:51:19 +01:00
2022-04-01 21:24:45 +01:00
2022-09-05 10:12:02 +01:00
2022-09-20 12:57:21 +01:00
2022-08-23 19:07:12 +01:00
2022-09-09 22:54:25 +01:00
2022-10-27 11:30:19 +01:00
2022-10-27 11:30:19 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-12-06 08:54:33 +01:00
2022-07-21 16:39:22 +02:00
2022-12-11 19:55:37 -07:00
2022-08-23 19:07:12 +01:00
2022-10-14 13:01:13 +02:00
2022-12-06 08:54:33 +01:00
2022-04-01 21:24:45 +01:00
2022-07-22 10:07:15 -07:00
2022-07-22 10:07:15 -07:00
2022-08-23 19:07:12 +01:00
2022-10-12 23:07:42 +02:00
2022-04-01 21:24:45 +01:00
2022-11-01 14:49:09 +00:00
2022-11-29 11:04:21 +01:00
2022-12-11 19:55:37 -07: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-10-23 15:48:45 +02:00
2022-10-06 16:14:40 +01:00
2022-10-14 13:01:13 +02: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-12-06 08:54:33 +01:00
2022-04-01 21:24:45 +01:00
2022-12-06 08:54:33 +01:00
2022-04-01 21:24:45 +01:00
2022-07-22 10:07:15 -07:00
2022-08-23 19:07:12 +01:00
2022-12-06 08:54:33 +01:00
2022-08-23 19:07:12 +01:00
2022-06-12 00:28:26 +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