Page MenuHomeFreeBSD

libsys: Implement safe aux vec initialization
Needs ReviewPublic

Authored by aokblast on Mar 17 2026, 6:40 AM.
Tags
None
Referenced Files
F158270981: D55891.diff
Sat, May 30, 3:24 PM
Unknown Object (File)
Sat, May 23, 8:31 AM
Unknown Object (File)
Thu, May 14, 12:55 AM
Unknown Object (File)
Wed, May 13, 4:38 PM
Unknown Object (File)
Mon, May 11, 11:34 AM
Unknown Object (File)
Apr 28 2026, 3:54 AM
Unknown Object (File)
Apr 27 2026, 11:47 PM
Unknown Object (File)
Apr 27 2026, 10:02 AM
Subscribers

Details

Reviewers
dim
Summary

In llvm sanitizer, we directly refenrece the aux vector by using weak
symbol since some of the aux info does not appeared in elf_aux_info.
However, since the elf_aux_vector is lazy initialzed, it is possible
that
elf_aux_vector will be NULL if the sanitizer initialize early
enough. Therefore, we provide a function to allow external user of
__elf_aux_vector to be properly initilized.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71446
Build 68329: arc lint + arc unit