git: rtld: Allows return pathname in dl_iterate_phdr dlpi_name

John Marino marino at crater.dragonflybsd.org
Sun Nov 30 08:51:22 PST 2014


commit 9c47603718642464b4e3cdb11ad4c9e1c964b60a
Author: John Marino <draco at marino.st>
Date:   Sun Nov 30 11:06:04 2014 +0100

    rtld: Allows return pathname in dl_iterate_phdr dlpi_name
    
    This is the behavior of Linux and also of FreeBSD since October 2014.
    Until this point, dlpi_name returned the short name of the object unless
    it wasn't defined, so the fallback was to return the pathname.
    
    Returning the pathname in all cases is considered more useful and matches
    the definition of Linux.
    
    Taken from:	FreeBSD svn 272842 (9 Oct 2014)

Summary of changes:
 libexec/rtld-elf/rtld.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c47603718642464b4e3cdb11ad4c9e1c964b60a


-- 
DragonFly BSD source repository



More information about the Commits mailing list