This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=adeb1d887eb78ee306dc841e16ecc554bd287962

commit adeb1d887eb78ee306dc841e16ecc554bd287962
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Oct 11 17:25:30 2025 +0200

    Dpkg::BuildInfo: Allow ld.so run-time variables
    
    These can affect how the dynamic linker operates.
---
 scripts/Dpkg/BuildInfo.pm  | 8 ++++++++
 scripts/t/Dpkg_BuildInfo.t | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/Dpkg/BuildInfo.pm b/scripts/Dpkg/BuildInfo.pm
index c198f279f..ff4ec41d4 100644
--- a/scripts/Dpkg/BuildInfo.pm
+++ b/scripts/Dpkg/BuildInfo.pm
@@ -95,7 +95,15 @@ my @env_allowed = (
     ),
     # Dynamic linker, see ld(1).
     qw(
+        LD_ASSUME_KERNEL
+        LD_AUDIT
+        LD_BIND_NOT
+        LD_BIND_NOW
+        LD_DYNAMIC_WEAK
         LD_LIBRARY_PATH
+        LD_ORIGIN_PATH
+        LD_PREFER_MAP_32BIT_EXEC
+        LD_PRELOAD
     ),
     # Timezone, see tzset(3).
     qw(
diff --git a/scripts/t/Dpkg_BuildInfo.t b/scripts/t/Dpkg_BuildInfo.t
index b2774bb4f..c636cbc1a 100644
--- a/scripts/t/Dpkg_BuildInfo.t
+++ b/scripts/t/Dpkg_BuildInfo.t
@@ -19,5 +19,5 @@ use Test::More tests => 2;
 
 use ok 'Dpkg::BuildInfo';
 
-is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 71,
+is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 79,
     'allowed environment variables array');

-- 
Dpkg.Org's dpkg

Reply via email to