git: f7b368d25fad - main - rtld_get_var(3): provide explicit list of rtld vars that can be modified
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Mar 2026 23:42:28 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=f7b368d25fadbfcba5072dfab3738082393fa189
commit f7b368d25fadbfcba5072dfab3738082393fa189
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-25 22:38:35 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-03-26 23:41:23 +0000
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
---
lib/libc/gen/rtld_get_var.3 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
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