HomeFreeBSD

Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does

Description

Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does

Linux LD_ITERATE_PHDR(3):

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

That functionality is much more useful than returning just the short
name.

Approved by: kan
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS272841: Ensure that the flags field of sctp_tmit_chunks is initialized.
Branches
Unknown
Tags
Unknown

Event Timeline