From owner-freebsd-hackers Mon Oct 23 18:42:40 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA18827 for hackers-outgoing; Mon, 23 Oct 1995 18:42:40 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id SAA18820 for ; Mon, 23 Oct 1995 18:42:35 -0700 Received: by sequent.kiae.su id AA14518 (5.65.kiae-2 ); Tue, 24 Oct 1995 05:41:16 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Tue, 24 Oct 95 05:41:16 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.11/8.6.9) id EAA00425; Tue, 24 Oct 1995 04:40:48 +0300 To: ache@freefall.freebsd.org, John Polstra Cc: freebsd-hackers@FreeBSD.ORG, gibbs@freefall.freebsd.org, terry@lambert.org References: In-Reply-To: ; from John Polstra at Mon, 23 Oct 95 18:26 PDT Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 24 Oct 1995 04:40:47 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: ld.so, LD_NOSTD_PATH, and suid/sgid programs Lines: 22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 962 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk In message John Polstra writes: >> And most interesting thing is that LD_NOSTD_PATH not works at all yet. >> You can check it by setting LD_NOSTD_PATH, nothing happens then. >> I.e. you can still run all shared binaries with STD path. :-) >Yes. That is because ld.so still uses the hints file even when >LD_NOSTD_PATH is set. If it finds a needed library in ld.so.hints, it >will use it. >I'm not arguing that this behavior is correct; I'm just explaining >what's going on. Doing my fix I assume it will be implemented correctly in future, i.e. like Sun variable with same name does. Why the same name needed in other case? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849