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
F151336912: D31038.id.diff
Tue, Apr 7, 4:58 PM
Unknown Object (File)
Mon, Apr 6, 8:52 PM
Unknown Object (File)
Fri, Mar 27, 9:57 AM
Unknown Object (File)
Mon, Mar 23, 2:34 AM
Unknown Object (File)
Thu, Mar 12, 8:26 AM
Unknown Object (File)
Mar 8 2026, 11:51 AM
Unknown Object (File)
Feb 26 2026, 5:00 PM
Unknown Object (File)
Feb 26 2026, 7: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.