Page MenuHomeFreeBSD

libsys: Implement safe aux vec initialization
Needs ReviewPublic

Authored by aokblast on Tue, Mar 17, 6:40 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
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