]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc, libthr: use AT_USRSTACK{BASE,LIM} instead of sysctl("kern.usrstack") and get_rl...
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 12 Sep 2022 19:45:21 +0000 (22:45 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 16 Sep 2022 20:24:06 +0000 (23:24 +0300)
commite2879ece4314eed2d22fe484bd4adfcbb1009685
treed746151a980df7cb0fe5a520816051a3e3f5fb50
parentebf7a01594eeb8c2897d1b310069df35da112413
libc, libthr: use AT_USRSTACK{BASE,LIM} instead of sysctl("kern.usrstack") and get_rlimit(RLIMIT_STACK)

Reviewed by: brooks, imp (previous version)
Discussed with: markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D36540
lib/libc/gen/elf_utils.c
lib/libthr/thread/thr_init.c
lib/libthr/thread/thr_stack.c