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)
Wed, Oct 8, 2:09 PM
Unknown Object (File)
Wed, Oct 8, 5:00 AM
Unknown Object (File)
Mon, Oct 6, 9:44 AM
Unknown Object (File)
Mon, Oct 6, 8:27 AM
Unknown Object (File)
Mon, Oct 6, 1:54 AM
Unknown Object (File)
Sat, Sep 20, 6:18 PM
Unknown Object (File)
Thu, Sep 18, 3:33 AM
Unknown Object (File)
Sep 12 2025, 7:13 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