aboutsummaryrefslogtreecommitdiff
path: root/sbin/ldconfig
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
commitedf0e5b3f896da8bf8b1fd0b923401d0c0141aa4 (patch)
tree78fa3bb3a263f5518e1eaa6bea101b7b19200ce5 /sbin/ldconfig
parentb5cfb15faded88a85755caf4ccdb4876fd99fe44 (diff)
downloadsrc-edf0e5b3f896da8bf8b1fd0b923401d0c0141aa4.tar.gz
src-edf0e5b3f896da8bf8b1fd0b923401d0c0141aa4.zip
Notes
Diffstat (limited to 'sbin/ldconfig')
-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 9b8322456f0b..8f055c05f5f3 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