Konstantin Belousov 81b3a0a341 libc: implement rtld_get_stack_prot() for real
which makes stack prot correct for non-main threads created by binaries
with statically linked libthr.

Cache result, but do not engage into the full double-checked locking,
since calculation of the return value is idempotent.

PR:	252549
Reported and reviewed by:	emaste
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28075
2021-01-10 08:25:43 +02:00
..
2019-12-28 02:11:41 +00:00
2020-10-09 19:12:44 +00:00
2020-04-30 22:08:40 +00:00
2018-10-20 22:39:35 +00:00
2020-04-30 22:08:40 +00:00
2020-12-27 12:57:26 +02:00
2019-09-02 01:55:55 +00:00
2020-12-16 09:02:09 +00:00
2020-04-30 22:08:40 +00:00
2021-01-08 13:15:56 +13:00
2021-01-07 09:31:03 +00:00
2021-01-10 04:42:34 +02:00
2019-12-11 17:37:53 +00:00