[PATCH 3/5] ld.so.8: Add add filtered out environment variable in secure-execution mode

Adhemerval Zanella
2023-10-18T17:31:26Z

They are define by unservars.h file in glibc code [1].

[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/generic/unsecvars.h;h=8278c50a84ffda18e28c178d390f1899d8306e26;hb=HEAD

Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
---
man8/ld.so.8 | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 74286d583..a0020be98 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -280,6 +280,17 @@ Other environment variables treated in this way include:
.BR GETCONF_DIR ,
.BR HOSTALIASES ,
.BR LOCALDOMAIN ,
+.BR LD_AUDIT ,
+.BR LD_DEBUG ,
+.BR LD_DEBUG_OUTPUT ,
+.BR LD_DYNAMIC_WEAK ,
+.BR LD_HWCAP_MASK,
+.BR LD_LIBRARY_PATH ,
+.BR LD_ORIGIN_PATH ,
+.BR LD_PRELOAD ,
+.BR LD_PROFILE ,
+.BR LD_SHOW_AUXV ,
+.BR LOCALDOMAIN ,
.BR LOCPATH ,
.BR MALLOC_TRACE ,
.BR NIS_PATH ,
--
2.34.1