HomeFreeBSD

libc, libthr: use AT_USRSTACK{BASE,LIM} instead of sysctl("kern.usrstack") and…

Description

libc, libthr: use AT_USRSTACK{BASE,LIM} instead of sysctl("kern.usrstack") and get_rlimit(RLIMIT_STACK)

(cherry picked from commit e2879ece4314eed2d22fe484bd4adfcbb1009685)

Details

Provenance
kibAuthored on Sep 12 2022, 7:45 PM
Parents
rGa26c4766b029: libthr: use nitems() for mib length
Branches
Unknown
Tags
Unknown