CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/07/13 21:23:13

Modified files:
        libexec/ld.so  : Makefile resolve.c util.h 
        libexec/ld.so/aarch64: syscall.h 
        libexec/ld.so/alpha: syscall.h 
        libexec/ld.so/amd64: syscall.h 
        libexec/ld.so/arm: syscall.h 
        libexec/ld.so/hppa: syscall.h 
        libexec/ld.so/i386: syscall.h 
        libexec/ld.so/m88k: syscall.h 
        libexec/ld.so/mips64: syscall.h 
        libexec/ld.so/powerpc: syscall.h 
        libexec/ld.so/sh: syscall.h 
        libexec/ld.so/sparc64: syscall.h 
Removed files:
        libexec/ld.so  : dl_realpath.c 

Log message:
ld.so's $ORIGIN handling when argv[0] is a relative path was broken by
the change in __getcwd(2)'s return value.  Fix it by switching to the
__realpath(2) syscall, eliminating the ld.so copy of realpath().

problem caught by regress and noted by bluhm@
ok deraadt@

Reply via email to