Page MenuHomeFreeBSD

libsys: Implement safe aux vec initialization
Needs ReviewPublic

Authored by aokblast on Mar 17 2026, 6:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 3:54 AM
Unknown Object (File)
Mon, Apr 27, 11:47 PM
Unknown Object (File)
Mon, Apr 27, 10:02 AM
Unknown Object (File)
Wed, Apr 22, 3:18 AM
Unknown Object (File)
Mon, Apr 20, 2:45 AM
Unknown Object (File)
Tue, Apr 14, 8:05 PM
Unknown Object (File)
Sun, Apr 12, 9:05 PM
Unknown Object (File)
Sat, Apr 11, 1:48 PM
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