Add an IMPLEMENTATION NOTES section to ldd.1.

PR:		231926
Reviewed by:	emaste
MFC after:	1 month
This commit is contained in:
markj 2018-10-23 13:49:53 +00:00
parent ec6cc1f233
commit c38c3400e1

View File

@ -1,6 +1,6 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 15, 2008 .Dd October 23, 2018
.Dt LDD 1 .Dt LDD 1
.Os .Os
.Sh NAME .Sh NAME
@ -57,6 +57,14 @@ option displays a verbose listing of the dynamic linking headers
encoded in the executable. encoded in the executable.
See the source code and include See the source code and include
files for the definitive meaning of all the fields. files for the definitive meaning of all the fields.
.Sh IMPLEMENTATION NOTES
.Nm
lists the dependencies of an executable by setting
.Xr rtld 1
environment variables and running the executable in a child process.
If the executable is corrupt or invalid,
.Nm
may therefore fail without providing any diagnostic error messages.
.Sh EXAMPLES .Sh EXAMPLES
The following is an example of a shell pipeline which uses the The following is an example of a shell pipeline which uses the
.Fl f .Fl f
@ -67,6 +75,7 @@ which link against libc.so.6:
.Sh SEE ALSO .Sh SEE ALSO
.Xr ld 1 , .Xr ld 1 ,
.Xr nm 1 , .Xr nm 1 ,
.Xr readelf 1 ,
.Xr rtld 1 .Xr rtld 1
.Sh HISTORY .Sh HISTORY
A A