Commit Graph

34 Commits

Author SHA1 Message Date
liuyang 4dcbbc71cc 修复 CVE-2023-4911 2024-01-19 09:53:35 +08:00
denghao b81dd9ebd1 0021-elf-Implement-force_first-handling-in-_dl_sort_maps_.patch
From: Florian Weimer <fweimer@redhat.com>
Date: Tue, 20 Sep 2022 11:00:42 +0200
Subject: [PATCH] elf: Implement force_first handling in _dl_sort_maps_dfs (bug
 28937)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
2022-11-11 09:58:35 +03:00
denghao b1cbfe6689 0020-02-elf-Rename-_dl_sort_maps-parameter-from-skip-to-forc.patch
From: Florian Weimer <fweimer@redhat.com>
Date: Tue, 6 Sep 2022 07:38:10 +0200
Subject: [PATCH] elf: Rename _dl_sort_maps parameter from skip to force_first
2022-11-11 09:57:55 +03:00
denghao 17978def71 0019-elf-Fix-hwcaps-string-size-overestimation.patch
From: Javier Pello <devel@otheo.eu>
Date: Mon, 5 Sep 2022 20:09:01 +0200
Subject: [PATCH] elf: Fix hwcaps string size overestimation
2022-11-11 09:54:54 +03:00
denghao 5f44a52b6a 0018-elf-Run-tst-audit-tlsdesc-tst-audit-tlsdesc-dlopen-e.patch
From: Florian Weimer <fweimer@redhat.com>
Date: Tue, 13 Sep 2022 19:57:43 +0200
Subject: [PATCH] elf: Run tst-audit-tlsdesc, tst-audit-tlsdesc-dlopen
 everywhere
2022-11-11 09:21:16 +03:00
denghao b929a2b2ac 0012-elf-Restore-how-vDSO-dependency-is-printed-with-LD_T.patch
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Tue, 30 Aug 2022 13:35:52 -0300
Subject: [PATCH] elf: Restore how vDSO dependency is printed with
 LD_TRACE_LOADED_OBJECTS
2022-11-11 04:48:40 +03:00
denghao 7653c44cb9 0010-elf-Call-__libc_early_init-for-reused-namespaces-bug.patch
From: Florian Weimer <fweimer@redhat.com>
Date: Fri, 26 Aug 2022 21:15:43 +0200
Subject: [PATCH] elf: Call __libc_early_init for reused namespaces
2022-11-11 04:46:30 +03:00
denghao 36719f8ed2 local-pldd-root.diff
From: Adam Conrad <adconrad@ubuntu.com>
Date: Fri, 13 May 2022 23:32:12 +0800
Subject: Run tst-pldd as root so we have CAP_SYS_PTRACE
2022-11-10 06:10:08 +03:00
denghao 584fd80ba7 local-disable-ld_audit.diff
From: Kees Cook <kees@ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:11 +0800
Subject: pro-actively disable LD_AUDIT for setuid binaries, regardless
2022-11-10 05:59:22 +03:00
denghao 606a7558a0 local-ldconfig-ignore-ld.so.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:11 +0800
Subject: local-ldconfig-ignore-ld.so
2022-11-10 05:55:48 +03:00
denghao 87f6d5a934 unsubmitted-ldso-machine-mismatch.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:11 +0800
Subject: unsubmitted-ldso-machine-mismatch
2022-11-10 05:55:06 +03:00
denghao 702388c581 local-ldconfig-multiarch.diff
From: Steve Langasek <steve.langasek@linaro.org>
Date: Fri, 11 Nov 2022 23:32:11 +0800
Subject: make ldconfig use the built-in system paths
2022-11-10 05:50:29 +03:00
denghao c0cf624ada local-ldso-disable-hwcap.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:11 +0800
Subject: local-ldso-disable-hwcap
2022-11-10 05:40:39 +03:00
denghao ad104d068e local-ld-multiarch.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:10 +0800
Subject: local-ld-multiarch
2022-11-10 05:39:59 +03:00
denghao 64ebe1b0f2 local-ldd.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:10 +0800
Subject: local-ldd
2022-11-10 05:34:14 +03:00
denghao 32d27d2bad local-no-execfn.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:10 +0800
Subject: local-no-execfn
2022-11-10 05:27:44 +03:00
denghao 8621aebc03 unsubmitted-ldso-multilib.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:08 +0800
Subject: unsubmitted-ldso-multilib
2022-11-10 05:12:05 +03:00
denghao cf1cb81f80 local-soname-hack.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:07 +0800
Subject: local-soname-hack
2022-11-10 05:10:26 +03:00
denghao 1a91324ad3 merge upstream 2.36 2022-11-09 11:27:14 +03:00
Adam Conrad 7d1c4a847e Run tst-pldd as root so we have CAP_SYS_PTRACE
Forwarded: no
Last-Update: 2019-09-16

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name local-pldd-root.diff
2022-05-13 23:32:12 +08:00
Kees Cook 22ba7cee9c pro-actively disable LD_AUDIT for setuid binaries, regardless
of where the libraries are loaded from. This is to try to make sure that
CVE-2010-3856 cannot sneak back in. Upstream is unlikely to take this,
since it limits the functionality of LD_AUDIT.

Gbp-Pq: Topic ubuntu
Gbp-Pq: Name local-disable-ld_audit.diff
2022-05-13 23:32:11 +08:00
Ubuntu Developers 6c4e37fb02 submitted-ld.so-cache-new-format
2018-09-16  Josh Triplett  <josh@joshtriplett.org>

        * elf/ldconfig.c: Default to the new format for ld.so.cache. glibc has
        supported this format for 18+ years.
        * elf/dl-cache.c (_dl_load_cache_lookup): Reorder conditionals to look
        for the new format first.


Gbp-Pq: Topic any
Gbp-Pq: Name submitted-ld.so-cache-new-format.diff
2022-05-13 23:32:11 +08:00
Ubuntu Developers f385c59869 local-ldconfig-ignore-ld.so
Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-ignore-ld.so.diff
2022-05-13 23:32:11 +08:00
Ubuntu Developers 39beb59c99 unsubmitted-ldso-machine-mismatch
Gbp-Pq: Topic any
Gbp-Pq: Name unsubmitted-ldso-machine-mismatch.diff
2022-05-13 23:32:11 +08:00
Steve Langasek 6c8f802f0b make ldconfig use the built-in system paths
Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
2022-05-13 23:32:11 +08:00
Ubuntu Developers 2cb76bc457 local-ldso-disable-hwcap
# DP: Allow hwcap's to be disabled with the existence of a file. This
# DP: makes it easier to do upgrades with optimized (hwcap) library
# DP: packages.
# DP: Author: Rewritten by Daniel Jacobowitz <dan@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: This isn't going to be acceptable upstream, we
# DP:                 only need it because we support in-place upgrades.
# DP: Date: 2003-10-28, (Updated 2005-01-02 gotom, 2007-05-20 aurel32)
# DP: Allow hwcap's to be disabled with the existence of a file. This
# DP: makes it easier to do upgrades with optimized (hwcap) library
# DP: packages.
# DP: Author: Rewritten by Daniel Jacobowitz <dan@debian.org>
# DP: Upstream status: Debian-Specific
# DP: Status Details: This isn't going to be acceptable upstream, we
# DP:                 only need it because we support in-place upgrades.
# DP: Date: 2003-10-28, (Updated 2005-01-02 gotom, 2007-05-20 aurel32)


Gbp-Pq: Topic any
Gbp-Pq: Name local-ldso-disable-hwcap.diff
2022-05-13 23:32:11 +08:00
Ubuntu Developers b36676cef4 local-ld-multiarch
2012-05-01  Aurelien Jarno  <aurelien@aurel32.net>

	* elf/Makefile(trusted-dirs.st): Fix DL_DST_LIB computation with
	two level slibdir directories.

2009-09-08  Aurelien Jarno  <aurelien@aurel32.net>

	* Makeconfig: add support for multiarch compat directories.


Gbp-Pq: Topic any
Gbp-Pq: Name local-ld-multiarch.diff
2022-05-13 23:32:10 +08:00
Ubuntu Developers 10c458c525 local-ldd
2013-05-11  Aurelien Jarno  <aurelien@aurel32.net>
  
	* elf/ldd.bash.in: Verify the dynamic linker is working before
	using it.


Gbp-Pq: Topic all
Gbp-Pq: Name local-ldd.diff
2022-05-13 23:32:10 +08:00
Ubuntu Developers 8188a05785 local-no-execfn
AT_EXECFN is Linux specific


Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-no-execfn.diff
2022-05-13 23:32:10 +08:00
Ubuntu Developers 0f1716c6a9 submitted-auxv
https://sourceware.org/bugzilla/show_bug.cgi?id=15794

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name submitted-auxv.diff
2022-05-13 23:32:09 +08:00
Ubuntu Developers 09a2829e3f local-enable-ldconfig
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd.  We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
  
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd.  We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
  

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-enable-ldconfig.diff
2022-05-13 23:32:08 +08:00
Ubuntu Developers 1d0d4fd4c7 unsubmitted-ldso-multilib
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff
2022-05-13 23:32:08 +08:00
Ubuntu Developers b6a603e843 local-soname-hack
For backward compatibility with armhf binaries built with the
old linker SONAME, we need to fake out the linker to believe
the new is the old, until such a point as everything is rebuilt


Gbp-Pq: Topic arm
Gbp-Pq: Name local-soname-hack.diff
2022-05-13 23:32:07 +08:00
openKylinBot bf3258cd00 Import Upstream version 2.31 2022-05-13 23:30:52 +08:00