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
F131712252: D31038.id.diff
Fri, Oct 10, 1:41 PM
F131712250: D31038.id91758.diff
Fri, Oct 10, 1:41 PM
F131712247: D31038.id91868.diff
Fri, Oct 10, 1:41 PM
F131677731: D31038.diff
Fri, Oct 10, 6:53 AM
Unknown Object (File)
Fri, Oct 3, 11:54 AM
Unknown Object (File)
Tue, Sep 30, 8:01 PM
Unknown Object (File)
Thu, Sep 25, 12:39 AM
Unknown Object (File)
Tue, Sep 16, 1:55 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.