Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2026 02:17:07 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a2707106b094 - stable/15 - rtld_get_var(3): provide explicit list of rtld vars that can be modified
Message-ID:  <69cdd1a3.3420d.5c1811f7@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=a2707106b094bfdb29292e5fc213cc1f3df43918

commit a2707106b094bfdb29292e5fc213cc1f3df43918
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-25 22:38:35 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-02 02:13:50 +0000

    rtld_get_var(3): provide explicit list of rtld vars that can be modified
    
    (cherry picked from commit f7b368d25fadbfcba5072dfab3738082393fa189)
---
 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cdd1a3.3420d.5c1811f7>