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.
Differential D932
Return full pathname in dl_iterate_phdr's dlpi_name, as Linux does emaste on Oct 9 2014, 8:15 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions Looks like musl libc had the same discovery: http://www.openwall.com/lists/musl/2012/10/11/10 |