Date: Fri, 4 Feb 2005 09:27:13 -0500 (EST) From: "Matthew N. Dodd" <mdodd@FreeBSD.ORG> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/libexec/rtld-elf libmap.c libmap.h rtld.1 rtld.c Message-ID: <20050204092535.M76517@sasami.jurai.net> In-Reply-To: <20050204151805.ztnw76rhw80k8w48@netchild.homeip.net> References: <200502040246.j142kfO5085365@repoman.freebsd.org> <20050204151805.ztnw76rhw80k8w48@netchild.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Feb 2005, Alexander Leidinger wrote: > "Matthew N. Dodd" <mdodd@freebsd.org> wrote: > >> Another handy libmap patch. Lets you do stuff like this: >> >> LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp > > Even for SUID programs where this feature may be abused to do nasty things? trust = !issetugid(); ... if (trust) { ... libmap_override = getenv(LD_ "LIBMAP"); ... So no, no more open to abuse than LD_PRELOAD etc. -- 10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050204092535.M76517>