git: dcdc0d716715 - stable/14 - rtld.1: cross-reference rtld_get_var.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 00:43:10 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=dcdc0d71671536faa0919b2ccb996ff5173ce2a4
commit dcdc0d71671536faa0919b2ccb996ff5173ce2a4
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-31 20:20:39 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-11-14 00:42:17 +0000
rtld.1: cross-reference rtld_get_var.3
(cherry picked from commit 16d000bdac54d7153f33a0d050bcc4307b702751)
---
libexec/rtld-elf/rtld.1 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1
index 5631c28e1f84..62e4fc5676c2 100644
--- a/libexec/rtld-elf/rtld.1
+++ b/libexec/rtld-elf/rtld.1
@@ -138,6 +138,15 @@ all the environment variables listed below, but is being prefixed with
for example:
.Ev LD_32_TRACE_LOADED_OBJECTS .
If the activated image is setuid or setgid, the variables are ignored.
+.Pp
+The run-time linker is able to access the environment provided
+at process startup.
+After startup, environment variables are maintained by higher-level
+libraries and are not accessible by the run-time linker.
+At run-time, effective settings can be queried using
+.Xr rtld_get_var 3 ,
+and some of them can be changed with
+.Xr rtld_set_var 3 .
.Bl -tag -width ".Ev LD_LIBMAP_DISABLE"
.It Ev LD_DUMP_REL_POST
If set,
@@ -527,6 +536,7 @@ The libmap configuration file for 32-bit binaries on 64-bit system.
.Xr ld 1 ,
.Xr ldd 1 ,
.Xr dlinfo 3 ,
+.Xr rtld_get_var 3 ,
.Xr capsicum 4 ,
.Xr elf 5 ,
.Xr libmap.conf 5 ,