Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 95 18:26 PDT
From:      jdp@polstra.com (John Polstra)
To:        ache@freefall.freebsd.org
Cc:        freebsd-hackers@FreeBSD.ORG, gibbs@freefall.freebsd.org, terry@lambert.org
Subject:   Re: ld.so, LD_NOSTD_PATH, and suid/sgid programs
Message-ID:  <m0t7Y8B-000078C@seattle.polstra.com>

next in thread | raw e-mail | index | archive | help
> 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.

   John Polstra                                       jdp@polstra.com
   Polstra & Co., Inc.                        Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0t7Y8B-000078C>