Date: Wed, 18 Mar 2009 13:40:37 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/libexec/rtld-elf map_object.c rtld.c rtld.h Message-ID: <200903181340.n2IDejLB063259@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-03-18 13:40:37 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf map_object.c rtld.c rtld.h
Log:
SVN rev 189959 on 2009-03-18 13:40:37Z by kib
Implement the dynamic string token substitution in the rpath and
soneeded pathes. The $ORIGIN, $OSNAME, $OSREL and $PLATFORM tokens
are supported. Enabling the substitution requires DF_ORIGIN flag in
DT_FLAGS or DF_1_ORIGIN if DF_FLAGS_1, that may be set with -z origin
gnu ld flag. Translation is unconditionally disabled for setuid/setgid
processes.
The $ORIGIN translation relies on the AT_EXECPATH auxinfo supplied
by kernel.
Requested by: maho
Tested by: maho, pho
Reviewed by: kan
Revision Changes Path
1.19 +2 -0 src/libexec/rtld-elf/map_object.c
1.130 +144 -9 src/libexec/rtld-elf/rtld.c
1.40 +2 -1 src/libexec/rtld-elf/rtld.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903181340.n2IDejLB063259>
