summaryrefslogtreecommitdiffstats
path: root/man8
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-10-18 14:21:00 -0300
committerAlejandro Colomar <alx@kernel.org>2023-10-18 21:20:47 +0200
commit612b8877f1d46a1ef4372ee70f51a1e4dbad42d4 (patch)
treec7a3ff0560609e8c70167161f2977a6a57e4ba09 /man8
parentd2dccce253f5342fc93978954ebce26a4c575281 (diff)
ld.so.8: Update environment variables for recent glibc versions
Recent glibc versions removed support for LD_TRACE_PRELINKING, LD_ASSUME_KERNEL, and LD_USE_LOAD_BIAS. Also add a note for LD_HWCAP_MASK that since glibc 2.26 the environment variable might be ignored if glibc does not support tunables. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man8')
-rw-r--r--man8/ld.so.811
1 files changed, 7 insertions, 4 deletions
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 900f3a9b9..1999c24d6 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -310,7 +310,7 @@ A nonzero value may have been set by a Linux Security Module.
.SS Environment variables
Among the more important environment variables are the following:
.TP
-.BR LD_ASSUME_KERNEL " (since glibc 2.2.3)"
+.BR LD_ASSUME_KERNEL " (from glibc 2.2.3 to glibc 2.36)"
Each shared object can inform the dynamic linker of the minimum kernel ABI
version that it requires.
(This requirement is encoded in an ELF note section that is viewable via
@@ -627,8 +627,11 @@ Since glibc 2.3.4,
.B LD_DYNAMIC_WEAK
is ignored in secure-execution mode.
.TP
-.BR LD_HWCAP_MASK " (since glibc 2.1)"
+.BR LD_HWCAP_MASK " (from glibc 2.1 to glibc 2.38)"
Mask for hardware capabilities.
+Since glibc 2.26,
+the option might be ignored
+if glibc does not support tunables.
.TP
.BR LD_ORIGIN_PATH " (since glibc 2.1)"
Path where the binary is found.
@@ -691,7 +694,7 @@ Since glibc 2.3.4,
.B LD_SHOW_AUXV
is ignored in secure-execution mode.
.TP
-.BR LD_TRACE_PRELINKING " (since glibc 2.4)"
+.BR LD_TRACE_PRELINKING " (from glibc 2.4 to glibc 2.35)"
If this environment variable is defined,
trace prelinking of the object whose name is assigned to
this environment variable.
@@ -702,7 +705,7 @@ If the object name is not recognized,
.\" (This is what seems to happen, from experimenting)
then all prelinking activity is traced.
.TP
-.BR LD_USE_LOAD_BIAS " (since glibc 2.3.3)"
+.BR LD_USE_LOAD_BIAS " (from glibc 2.3.3 to glibc 2.35)"
.\" http://sources.redhat.com/ml/libc-hacker/2003-11/msg00127.html
.\" Subject: [PATCH] Support LD_USE_LOAD_BIAS
.\" Jakub Jelinek