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, Dec 6, 6:42 PM
Unknown Object (File)
Nov 25 2024, 2:33 PM
Unknown Object (File)
Nov 25 2024, 10:32 AM
Unknown Object (File)
Nov 24 2024, 5:14 PM
Unknown Object (File)
Nov 22 2024, 1:28 PM
Unknown Object (File)
Nov 21 2024, 5:59 PM
Unknown Object (File)
Oct 3 2024, 9:05 AM
Unknown Object (File)
Oct 3 2024, 1:18 AM
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.