CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2015/11/14 20:41:25
Modified files: libexec/ld.so : loader.c libexec/ld.so/alpha: ldasm.S syscall.h libexec/ld.so/amd64: ldasm.S syscall.h libexec/ld.so/arm: ldasm.S syscall.h libexec/ld.so/hppa: ldasm.S syscall.h libexec/ld.so/i386: ldasm.S syscall.h libexec/ld.so/m88k: ldasm.S syscall.h libexec/ld.so/mips64: ldasm.S syscall.h libexec/ld.so/powerpc: ldasm.S syscall.h libexec/ld.so/sh: ldasm.S syscall.h libexec/ld.so/sparc: ldasm.S syscall.h libexec/ld.so/sparc64: ldasm.S syscall.h Log message: ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.so that it should show information about the program it loads, rather than run it. In that specific case, ld.so can pledge to "stdio rpath" to ensure that code path in ld.so has no bugs. Yes, a pledge in ld.so.... who'd have thought! ok guenther