From owner-freebsd-hackers Mon Oct 23 18:26:34 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA17442 for hackers-outgoing; Mon, 23 Oct 1995 18:26:34 -0700 Received: from seattle.polstra.com (seattle.polstra.com [198.211.214.4]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id SAA17435 for ; Mon, 23 Oct 1995 18:26:26 -0700 Received: by seattle.polstra.com (Smail3.1.28.1 #5) id m0t7Y8B-000078C; Mon, 23 Oct 95 18:26 PDT Message-Id: 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 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > 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