Page MenuHomeFreeBSD

libc: Make elf_aux_info() return an error if AT_USRSTACK* is undefined
ClosedPublic

Authored by markj on Oct 18 2022, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 19, 12:05 PM
Unknown Object (File)
Oct 8 2024, 12:25 AM
Unknown Object (File)
Oct 2 2024, 5:29 PM
Unknown Object (File)
Oct 2 2024, 10:24 AM
Unknown Object (File)
Sep 30 2024, 9:47 AM
Unknown Object (File)
Sep 29 2024, 10:24 PM
Unknown Object (File)
Sep 29 2024, 2:31 PM
Unknown Object (File)
Sep 29 2024, 1:18 PM
Subscribers

Details

Summary

Otherwise we do not fall back to sysctls if the auxv entries are not
defined by the kernel. Arguably this is not a bug since we do not
support newer libc running on an older kernel, but we can be a bit more
gentle here.

I assume here that the kernel-provided values for AT_USRSTACK* are
always non-zero.

Reported by: Paul Floyd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47878
Build 44765: arc lint + arc unit