Page MenuHomeFreeBSD

rtld/tests: Avoid function name conflict with libc opendir()
ClosedPublic

Authored by arichardson on Jul 5 2021, 8:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 12:49 AM
Unknown Object (File)
Jan 14 2024, 4:38 AM
Unknown Object (File)
Jan 11 2024, 6:20 AM
Unknown Object (File)
Dec 20 2023, 3:50 AM
Unknown Object (File)
Dec 16 2023, 4:03 PM
Unknown Object (File)
Sep 11 2023, 12:23 AM
Unknown Object (File)
Aug 28 2023, 7:51 PM
Unknown Object (File)
Jul 14 2023, 3:58 PM
Subscribers

Details

Summary

This prevents these tests from being compiled with ASAN since the asan
interceptors also define opendir() but matching the libc function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40285
Build 37174: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 5 2021, 8:59 AM

We have fdopendir in libc I wonder if this won't be confusing. Maybe we should rename this to something like rtld_opendir.
But whatever name your choose this LGTM.