summaryrefslogtreecommitdiff
path: root/libexec/ld.so/ldconfig
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-05-08 11:04:51 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-05-08 11:04:51 +0000
commite53b9d5be84bd1faab0dd8da57bb6d899cda8e94 (patch)
treec80fd54b9c1eb872224d40c2645d54e1ca500cf9 /libexec/ld.so/ldconfig
parent7ec368fce945859c7a6d63d2d6a227e28da06a23 (diff)
ld.so(1) also ignores LD_LIBRARY_PATH an friends for set-group-ID executables
While here, use consistent casing and don't use .Ev for set-user-ID/set-group-ID. from Miod
Diffstat (limited to 'libexec/ld.so/ldconfig')
-rw-r--r--libexec/ld.so/ldconfig/ldconfig.810
1 files changed, 4 insertions, 6 deletions
diff --git a/libexec/ld.so/ldconfig/ldconfig.8 b/libexec/ld.so/ldconfig/ldconfig.8
index 48dd3c86828..3433a0b4ba5 100644
--- a/libexec/ld.so/ldconfig/ldconfig.8
+++ b/libexec/ld.so/ldconfig/ldconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldconfig.8,v 1.29 2016/07/04 20:56:50 kettenis Exp $
+.\" $OpenBSD: ldconfig.8,v 1.30 2020/05/08 11:04:50 jca Exp $
.\"
.\" Copyright (c) 1993,1995 Paul Kranenburg
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: July 4 2016 $
+.Dd $Mdocdate: May 8 2020 $
.Dt LDCONFIG 8
.Os
.Sh NAME
@@ -120,9 +120,7 @@ Switch on verbose mode.
.El
.Sh SECURITY
Special care must be taken when loading shared libraries into the address
-space of
-.Ev set-user-Id
-programs.
+space of set-user-ID and set-group-ID programs.
Whenever such a program is run,
.Xr ld.so 1
will only load shared libraries from the
@@ -141,7 +139,7 @@ It is presumed that the set of directories specified to
.Nm
are under control of the system's administrator.
.Xr ld.so 1
-further assists set-user-Id programs by erasing the
+further assists set-user-ID and set-group-ID programs by erasing the
.Ev LD_LIBRARY_PATH
from the environment.
.Sh ENVIRONMENT