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
F103468739: D31038.diff
Mon, Nov 25, 10:32 AM
F103414364: D31038.id91758.diff
Sun, Nov 24, 5:14 PM
Unknown Object (File)
Fri, Nov 22, 1:28 PM
Unknown Object (File)
Thu, Nov 21, 5:59 PM
Unknown Object (File)
Oct 3 2024, 9:05 AM
Unknown Object (File)
Oct 3 2024, 1:18 AM
Unknown Object (File)
Oct 1 2024, 11:31 AM
Unknown Object (File)
Sep 27 2024, 9:56 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.