Paul Floyd
121374b287
Add auxv entry for usrstack on FreeBSD 14, part 1
...
Previously the user stack was obtained using the kern.usrstack
sysctl. This has been moved to auxv in FreeBSD 14. Without
this change all programs linked with libthr fail with a panic
when they fail to get a valid user stack address.
Note also in FreeBSD 14 ASLR has been enabled. This means that
there is now some extra difference between the address layout of
a standalone executable and the same executable under valgrind.
Pre-FreeBSD 14 and under valgrind:
lib rtld is loaded after the executable (though a much smaller gap
inder valgrind)
user stack starts at 0x7ffffffff000
FreeBSD 14
lib rtld is loaded at a much higher address, around 0xeeeecc15000
user stack is at a much lower address, around 0x82073d000
This means that valgrind behaves somewhat as thogh the
kern.elf(64|32).aslr.stack sysctl were set to 0.
Some more work will be needed for the stack size.
There are no plans at the moment to match the FreeBSD 14 memory
layout.
2022-10-18 23:38:36 +02:00
..
2020-05-14 19:11:26 +02:00
2022-05-14 16:46:03 +02:00
2022-05-22 13:05:10 +02:00
2022-10-16 18:58:52 +02:00
2022-02-17 18:38:44 +01:00
2021-10-09 14:11:48 +02:00
2022-10-16 00:44:40 +02:00
2022-10-18 23:38:36 +02:00
2019-05-26 20:07:51 +02:00
2022-06-17 13:52:45 +02:00
2022-06-07 20:38:17 +02:00
2021-11-09 23:17:40 +01:00
2022-10-12 08:34:51 +02:00
2022-07-03 13:05:54 +02:00
2017-10-01 19:45:10 -04:00
2019-05-26 20:07:51 +02:00
2021-10-09 14:11:48 +02:00
2021-02-04 16:44:24 +01:00
2017-05-16 08:22:51 +00:00
2021-10-09 14:11:48 +02:00
2017-05-05 22:13:20 +00:00
2017-05-05 22:13:20 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2022-05-14 16:46:03 +02:00
2021-10-09 15:01:08 +02:00
2022-04-07 22:09:57 +02:00
2021-10-09 15:01:08 +02:00
2021-10-09 15:01:08 +02:00
2020-11-05 15:58:23 +01:00
2022-02-18 19:12:21 +00:00
2022-10-16 18:58:52 +02:00
2021-10-09 15:13:50 +02:00
2022-05-20 02:48:53 +02:00
2021-12-08 07:52:09 +01:00
2021-02-26 01:38:42 +01:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2022-04-07 22:09:57 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2022-04-06 20:54:19 +02:00
2022-05-30 22:57:34 +02:00
2019-05-26 20:07:51 +02:00
2021-03-02 13:32:22 +01:00
2021-12-09 22:11:04 +01:00
2021-10-19 16:19:31 +02:00
2019-09-03 12:10:23 +00:00
2021-10-09 15:01:08 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2022-06-14 22:39:31 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-11-14 22:06:14 +01:00
2019-08-31 14:41:10 +02:00
2022-07-03 13:05:54 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2022-02-18 19:12:21 +00:00
2021-10-09 15:01:08 +02:00
2022-09-17 22:54:05 +02:00
2019-05-26 20:07:51 +02:00
2021-02-26 01:38:42 +01:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-03-02 13:32:22 +01:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2022-04-08 09:42:18 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2021-10-09 15:01:08 +02:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2021-03-02 13:32:22 +01:00
2021-10-09 15:01:08 +02:00
2019-05-26 20:07:51 +02:00
2019-11-14 12:33:36 +00:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2022-04-19 10:44:07 +02:00
2022-09-25 13:13:31 +02:00
2020-02-08 13:01:24 +01:00
2022-09-25 13:13:31 +02:00
2019-05-26 20:07:51 +02:00
2022-09-25 13:13:31 +02:00
2020-02-08 13:01:24 +01:00