summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/ldconfig.8
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
committermpp <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
commit3c57dc77537bfff8a25b061e147f5a1194613a28 (patch)
tree78fa3bb3a263f5518e1eaa6bea101b7b19200ce5 /sbin/ldconfig/ldconfig.8
parentcdc4afc0a8a13743387100d7e5e163b1dcd87323 (diff)
downloadFreeBSD-src-3c57dc77537bfff8a25b061e147f5a1194613a28.zip
FreeBSD-src-3c57dc77537bfff8a25b061e147f5a1194613a28.tar.gz
Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
Diffstat (limited to 'sbin/ldconfig/ldconfig.8')
-rw-r--r--sbin/ldconfig/ldconfig.824
1 files changed, 12 insertions, 12 deletions
diff --git a/sbin/ldconfig/ldconfig.8 b/sbin/ldconfig/ldconfig.8
index 9b83224..8f055c0 100644
--- a/sbin/ldconfig/ldconfig.8
+++ b/sbin/ldconfig/ldconfig.8
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: ldconfig.8,v 1.6 1994/12/23 22:31:21 nate Exp $
+.\" $Id: ldconfig.8,v 1.7 1995/06/24 10:08:43 asami Exp $
.\"
.Dd October 3, 1993
.Dt LDCONFIG 8
@@ -44,16 +44,16 @@
is used to prepare a set of
.Dq hints
for use by the run-time linker
-.Xr ld.so
+.Xr ld.so 1
to facilitate quick lookup of shared libraries available in multiple
directories. It scans a set of built-in system directories and any
.Ar directories
specified on the command line (in the given order) looking for shared
libraries and stores the results in the file
-.Xr /var/run/ld.so.hints
+.Pa /var/run/ld.so.hints
to forestall the overhead that would otherwise result from the
directory search operations
-.Xr ld.so
+.Xr ld.so 1
would have to perform to load the required shared libraries.
.Pp
The shared libraries so found will be automatically available for loading
@@ -69,12 +69,12 @@ directories where shared libraries might be found.
is a
.Sq \:
separated list of directory paths which are searched by
-.Xr ld.so
+.Xr ld.so 1
when it needs to load a shared library. It can be viewed as the run-time
equivalent of the
.Fl L
switch of
-.Xr ld.
+.Xr ld 1 .
.Pp
.Nm Ldconfig
is typically run as part of the boot sequence.
@@ -84,13 +84,13 @@ The following options recognized by
.Bl -tag -width indent
.It Fl m
Instead of replacing the contents of
-.Xr ld.so.hints
+.Pa ld.so.hints
with those found in the directories specified,
.Dq merge
in new entries.
.It Fl r
Lists the current contents of
-.Xr ld.so.hints
+.Pa ld.so.hints
on the standard output. The hints file will not be modified.
.It Fl s
Do not scan the built-in system directory
@@ -103,9 +103,9 @@ Special care must be taken when loading shared libraries into the address
space of
.Ev set-user-Id
programs. Whenever such a program is run,
-.Xr ld.so
+.Nm ld.so
will only load shared libraries from the
-.Ev ld.so.hints
+.Pa ld.so.hints
file. In particular, the
.Ev LD_LIBRARY_PATH
is not used to search for libraries. Thus, the role of ldconfig is dual. In
@@ -114,13 +114,13 @@ specify the trusted collection of directories from which shared objects can
be safely loaded. It is presumed that the set of directories specified to
.Nm ldconfig
are under control of the system's administrator.
-.Xr ld.so
+.Nm ld.so
further assists set-user-Id programs by erasing the
.Ev LD_LIBRARY_PATH
from the environment.
.Sh FILES
-.Xr /var/run/ld.so.hints
+.Pa /var/run/ld.so.hints
.Sh SEE ALSO
.Xr ld 1 ,
.Xr link 5
OpenPOWER on IntegriCloud