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)
Sun, Dec 28, 12:20 AM
Unknown Object (File)
Nov 29 2025, 9:27 AM
Unknown Object (File)
Nov 26 2025, 10:48 PM
Unknown Object (File)
Nov 22 2025, 1:29 AM
Unknown Object (File)
Nov 21 2025, 10:36 AM
Unknown Object (File)
Nov 11 2025, 5:29 PM
Unknown Object (File)
Nov 10 2025, 7:29 AM
Unknown Object (File)
Oct 26 2025, 3:10 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.