Page MenuHomeFreeBSD

Return full pathname in dl_iterate_phdr's dlpi_name, as Linux does
ClosedPublic

Authored by emaste on Oct 9 2014, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 22, 1:30 AM
Unknown Object (File)
Thu, Aug 21, 6:57 PM
Unknown Object (File)
Aug 3 2025, 1:24 AM
Unknown Object (File)
Jul 16 2025, 6:37 PM
Unknown Object (File)
Jul 16 2025, 2:30 PM
Unknown Object (File)
Jun 17 2025, 4:56 PM
Unknown Object (File)
Jun 11 2025, 7:42 AM
Unknown Object (File)
May 20 2025, 12:52 AM
Subscribers
None

Details

Reviewers
emaste
kan
Summary

Linux man page currently states

The dlpi_name field is a null-terminated string giving the pathname from which the shared object was loaded.

It may be that they returned just the name when this was first implemented for FreeBSD.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Return full pathname in dl_iterate_phdr's dlpi_name, as Linux does.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: kan.
emaste added a reviewer: emaste.

Committed in r272842

This revision is now accepted and ready to land.Oct 9 2014, 9:50 PM