Subject: lib/9663: LD_PRELOAD is not documented
To: None <>
From: John Hawkinson <>
List: netbsd-bugs
Date: 03/23/2000 00:33:05
>Number:         9663
>Category:       lib
>Synopsis:       LD_PRELOAD is not documented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 23 00:33:01 2000
>Originator:     John Hawkinson
>Release:        NetBSD 1.4.2
System: NetBSD 1.4.2 NetBSD 1.4.2 (ZORKMID) #1: Wed Mar 22 03:24:44 EST 2000 i386

	LD_PRELOAD is not documented. rtld(1) (d/b/a
documents LD_LIBRARY_PATH and friends, but omits LD_PRELOAD.
LD_PRELOAD is terribly useful, especially for things like
malloc debugging, etc., and appears to be supported for both a.out
and ELF.

	Incdiently, the page purports (in the headers)
to be rtld(1). This should probably be fixed.

	Watch vi core dump in malloc() and try to debug it and see
	how many PRs you can generate along the way.
	Consider stealing wording (or paraphrasing) from Solaris'