summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2020-05-08 11:04:50 +0000
committerjca <jca@openbsd.org>2020-05-08 11:04:50 +0000
commitc6bdb7a3b4a9b5a31f18446370e0b65f007d4b8c (patch)
tree6ac914f6a9e476bb1e696744e111d4f90c7963b5 /libexec
parentLD_DEBUG is ignored for set-user-ID and set-group-ID executables (diff)
downloadwireguard-openbsd-c6bdb7a3b4a9b5a31f18446370e0b65f007d4b8c.tar.xz
wireguard-openbsd-c6bdb7a3b4a9b5a31f18446370e0b65f007d4b8c.zip
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')
-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