Changeset View
Changeset View
Standalone View
Standalone View
sbin/ldconfig/ldconfig.8
Show All 37 Lines | |||||
.Dt LDCONFIG 8 | .Dt LDCONFIG 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ldconfig | .Nm ldconfig | ||||
.Nd configure the dynamic linker search path for shared libraries | .Nd configure the dynamic linker search path for shared libraries | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl 32 | .Op Fl 32 | ||||
.Op Fl Rimrsv | .Op Fl Rimrv | ||||
.Op Fl f Ar hints_file | .Op Fl f Ar hints_file | ||||
.Op Ar directory | Ar | .Op Ar directory | Ar | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
.Nm | .Nm | ||||
utility is used to configure the set of paths used by the dynamic linker | utility is used to configure the set of paths used by the dynamic linker | ||||
.Xr ld-elf.so.1 1 | .Xr ld-elf.so.1 1 | ||||
when searching for shared libraries. | when searching for shared libraries. | ||||
The dynamic linker looks for libraries in a set of built-in system directories | The dynamic linker looks for libraries in a set of built-in system directories | ||||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
directories specified on the command line, merge existing list | directories specified on the command line, merge existing list | ||||
with the specified directories, and write the result to the hints file. | with the specified directories, and write the result to the hints file. | ||||
.It Fl r | .It Fl r | ||||
List the current list of the directories from the hints file | List the current list of the directories from the hints file | ||||
on the standard output. | on the standard output. | ||||
The hints file is not modified. | The hints file is not modified. | ||||
.Pp | .Pp | ||||
Scan and print all libraries found on the directories list. | Scan and print all libraries found on the directories list. | ||||
.It Fl s | |||||
Do not scan the built-in system directory | |||||
.Pq Dq /usr/lib | |||||
for shared libraries. | |||||
.It Fl v | .It Fl v | ||||
Switch on verbose mode. | Switch on verbose mode. | ||||
.El | .El | ||||
.Sh SECURITY | .Sh SECURITY | ||||
Special care must be taken when loading shared libraries into the address | Special care must be taken when loading shared libraries into the address | ||||
space of | space of | ||||
.Ev set-user-Id | .Ev set-user-Id | ||||
programs. | programs. | ||||
Show All 37 Lines |