aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-03-25 22:38:35 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-03-26 23:41:23 +0000
commitf7b368d25fadbfcba5072dfab3738082393fa189 (patch)
tree83ef05a9b652c5ad326dd1e5677482ae0b0f19f2
parentb9f046d941c4dbd0e4fc634827ada6e7cf6a6bcf (diff)
rtld_get_var(3): provide explicit list of rtld vars that can be modified
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D56055
-rw-r--r--lib/libc/gen/rtld_get_var.317
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/gen/rtld_get_var.3 b/lib/libc/gen/rtld_get_var.3
index 092114e86d78..93aab133793b 100644
--- a/lib/libc/gen/rtld_get_var.3
+++ b/lib/libc/gen/rtld_get_var.3
@@ -73,6 +73,23 @@ but without the
(or
.Ev LD_32_
or any other ABI-specific) prefix.
+.Pp
+The list of variables that can be modified with the
+.Fn rtld_set_var
+function is:
+.Bl -tag
+.It Dv LD_BIND_NOT
+.It Dv LD_BIND_NOW
+.It Dv LD_DEBUG
+.It Dv LD_DUMP_REL_PRE
+.It Dv LD_DUMP_REL_POST
+.It Dv LD_DYNAMIC_WEAK
+.It Dv LD_LIBMAP_DISABLE
+.It Dv LD_LIBRARY_PATH
+.It Dv LD_LIBRARY_PATH_FDS
+.It Dv LD_LIBRARY_PATH_RPATH
+.It Dv LD_LOADFLTR
+.El
.Sh RETURN VALUES
The
.Fn rtld_get_var