forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'buildroot:master' into downstream-5.9.0
- Loading branch information
Showing
47 changed files
with
747 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Computed locally | ||
sha256 ae2b914bff0ddbb9b29d5fc689a51e1ce89ea4edfc4df9ae10517c6f5d2d5aaf containerd-1.7.13.tar.gz | ||
sha256 ae55b25fb04b45dfbbde8280b034783a48ae7c40350d17fd272be5cbf0284cf1 containerd-1.7.14.tar.gz | ||
sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
package/davfs2/0002-configure.ac-add-neon-version-0.33.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 1c539d158ae73e867d0d30b8c3d27f48d742ed06 Mon Sep 17 00:00:00 2001 | ||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com> | ||
Date: Sat, 30 Mar 2024 09:18:15 +0100 | ||
Subject: [PATCH] configure.ac: add neon version 0.33 | ||
|
||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> | ||
Upstream: https://savannah.nongnu.org/bugs/?65247 | ||
--- | ||
configure.ac | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 4f86cde..ede9b1e 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -36,7 +36,7 @@ AC_PROG_LN_S | ||
# Checks for libraries. | ||
AM_GNU_GETTEXT_VERSION(0.19.8) | ||
AM_GNU_GETTEXT([external]) | ||
-NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32]) | ||
+NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32 33]) | ||
DAV_CHECK_NEON | ||
|
||
# Checks for header files. | ||
-- | ||
2.43.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 58ad7a7fb42ae2ddd33e7d52dad688b249ca8a358eb73b9e48f91eda79e862a8 delve-1.20.2.tar.gz | ||
sha256 fe6f0d97c233d4f0f1ed422c11508cc57c14e9e0915f9a258f1912c46824cbfb delve-1.22.1.tar.gz | ||
sha256 778864b990007e8cef6633f8c372dd05bac1fada6cf67b008afb1483f83b38f5 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 72a54d131c28938221c81bd08364459fed9c71c093d4d615d324aaf31de6db1d docker-cli-24.0.7.tar.gz | ||
sha256 96ed5d7c33a12f505d13fa03fa48f94cb41cf871178df0df84aa0b76839ad321 docker-cli-26.0.0.tar.gz | ||
sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Locally calculated | ||
sha256 16a2cb4cf4d314a070085e0df06e3a6bd9ec678d28715b64060af694fc9051d5 docker-engine-24.0.7.tar.gz | ||
sha256 fae1aabb63ed5cf6d302a5f4266ed092716b1cea9a974a9d61154ef31b03c302 docker-engine-26.0.0.tar.gz | ||
sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Locally computed | ||
sha256 320a411425414679736dcb7f3b05146430ca4af20ded0096c69ac3c7540ebca2 fuse-overlayfs-1.11.tar.gz | ||
sha256 96d10344921d5796bcba7a38580ae14a53c4e60399bb90b238ac5a10b3bb65b2 fuse-overlayfs-1.13.tar.gz | ||
# Locally computed | ||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING | ||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
140 changes: 140 additions & 0 deletions
140
package/gcc/11.4.0/0008-Remove-crypt-and-crypt_r-interceptors.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
From 0ef972d11dda9051941656e5797889b8fbf2dca6 Mon Sep 17 00:00:00 2001 | ||
From: Fangrui Song <i@maskray.me> | ||
Date: Fri, 28 Apr 2023 09:59:17 -0700 | ||
Subject: [PATCH] Remove crypt and crypt_r interceptors | ||
|
||
From Florian Weimer's D144073 | ||
|
||
> On GNU/Linux (glibc), the crypt and crypt_r functions are not part of the main shared object (libc.so.6), but libcrypt (with multiple possible sonames). The sanitizer libraries do not depend on libcrypt, so it can happen that during sanitizer library initialization, no real implementation will be found because the crypt, crypt_r functions are not present in the process image (yet). If its interceptors are called nevertheless, this results in a call through a null pointer when the sanitizer library attempts to forward the call to the real implementation. | ||
> | ||
> Many distributions have already switched to libxcrypt, a library that is separate from glibc and that can be build with sanitizers directly (avoiding the need for interceptors). This patch disables building the interceptor for glibc targets. | ||
|
||
Let's remove crypt and crypt_r interceptors (D68431) to fix issues with | ||
newer glibc. | ||
|
||
For older glibc, msan will not know that an uninstrumented crypt_r call | ||
initializes `data`, so there is a risk for false positives. However, with some | ||
codebase survey, I think crypt_r uses are very few and the call sites typically | ||
have a `memset(&data, 0, sizeof(data));` anyway. | ||
|
||
Fix https://github.com/google/sanitizers/issues/1365 | ||
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2169432 | ||
|
||
Reviewed By: #sanitizers, fweimer, thesamesam, vitalybuka | ||
|
||
Differential Revision: https://reviews.llvm.org/D149403 | ||
|
||
[Thomas: taken from Crosstool-NG] | ||
Upstream: (llvm) https://github.com/llvm/llvm-project/commit/d7bead833631486e337e541e692d9b4a1ca14edd | ||
Upstream: (gcc) https://github.com/gcc-mirror/gcc/commit/d96e14ceb9475f9bccbbc0325d5b11419fad9246 | ||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> | ||
--- | ||
.../sanitizer_common_interceptors.inc | 37 ------------------- | ||
.../sanitizer_platform_interceptors.h | 2 - | ||
.../sanitizer_platform_limits_posix.cpp | 2 - | ||
.../sanitizer_platform_limits_posix.h | 1 - | ||
4 files changed, 42 deletions(-) | ||
|
||
diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc | ||
index ff2acfc7c010..6d802bc7159f 100644 | ||
--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc | ||
+++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc | ||
@@ -9814,41 +9814,6 @@ INTERCEPTOR(SSIZE_T, getrandom, void *buf, SIZE_T buflen, unsigned int flags) { | ||
#define INIT_GETRANDOM | ||
#endif | ||
|
||
-#if SANITIZER_INTERCEPT_CRYPT | ||
-INTERCEPTOR(char *, crypt, char *key, char *salt) { | ||
- void *ctx; | ||
- COMMON_INTERCEPTOR_ENTER(ctx, crypt, key, salt); | ||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, key, internal_strlen(key) + 1); | ||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, salt, internal_strlen(salt) + 1); | ||
- char *res = REAL(crypt)(key, salt); | ||
- if (res != nullptr) | ||
- COMMON_INTERCEPTOR_INITIALIZE_RANGE(res, internal_strlen(res) + 1); | ||
- return res; | ||
-} | ||
-#define INIT_CRYPT COMMON_INTERCEPT_FUNCTION(crypt); | ||
-#else | ||
-#define INIT_CRYPT | ||
-#endif | ||
- | ||
-#if SANITIZER_INTERCEPT_CRYPT_R | ||
-INTERCEPTOR(char *, crypt_r, char *key, char *salt, void *data) { | ||
- void *ctx; | ||
- COMMON_INTERCEPTOR_ENTER(ctx, crypt_r, key, salt, data); | ||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, key, internal_strlen(key) + 1); | ||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, salt, internal_strlen(salt) + 1); | ||
- char *res = REAL(crypt_r)(key, salt, data); | ||
- if (res != nullptr) { | ||
- COMMON_INTERCEPTOR_WRITE_RANGE(ctx, data, | ||
- __sanitizer::struct_crypt_data_sz); | ||
- COMMON_INTERCEPTOR_INITIALIZE_RANGE(res, internal_strlen(res) + 1); | ||
- } | ||
- return res; | ||
-} | ||
-#define INIT_CRYPT_R COMMON_INTERCEPT_FUNCTION(crypt_r); | ||
-#else | ||
-#define INIT_CRYPT_R | ||
-#endif | ||
- | ||
#if SANITIZER_INTERCEPT_GETENTROPY | ||
INTERCEPTOR(int, getentropy, void *buf, SIZE_T buflen) { | ||
void *ctx; | ||
@@ -10337,8 +10302,6 @@ static void InitializeCommonInterceptors() { | ||
INIT_GETUSERSHELL; | ||
INIT_SL_INIT; | ||
INIT_GETRANDOM; | ||
- INIT_CRYPT; | ||
- INIT_CRYPT_R; | ||
INIT_GETENTROPY; | ||
INIT_QSORT; | ||
INIT_QSORT_R; | ||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h b/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h | ||
index 18bab346ce6e..cf329b76836e 100644 | ||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h | ||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h | ||
@@ -572,8 +572,6 @@ | ||
#define SANITIZER_INTERCEPT_FDEVNAME SI_FREEBSD | ||
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_ANDROID) | ||
#define SANITIZER_INTERCEPT_SL_INIT (SI_FREEBSD || SI_NETBSD) | ||
-#define SANITIZER_INTERCEPT_CRYPT (SI_POSIX && !SI_ANDROID) | ||
-#define SANITIZER_INTERCEPT_CRYPT_R (SI_LINUX && !SI_ANDROID) | ||
|
||
#define SANITIZER_INTERCEPT_GETRANDOM \ | ||
((SI_LINUX && __GLIBC_PREREQ(2, 25)) || SI_FREEBSD) | ||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp | ||
index 5743516c0460..980776fc7d78 100644 | ||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp | ||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp | ||
@@ -142,7 +142,6 @@ typedef struct user_fpregs elf_fpregset_t; | ||
#include <linux/serial.h> | ||
#include <sys/msg.h> | ||
#include <sys/ipc.h> | ||
-#include <crypt.h> | ||
#endif // SANITIZER_LINUX && !SANITIZER_ANDROID | ||
|
||
#if SANITIZER_ANDROID | ||
@@ -244,7 +243,6 @@ namespace __sanitizer { | ||
unsigned struct_ustat_sz = SIZEOF_STRUCT_USTAT; | ||
unsigned struct_rlimit64_sz = sizeof(struct rlimit64); | ||
unsigned struct_statvfs64_sz = sizeof(struct statvfs64); | ||
- unsigned struct_crypt_data_sz = sizeof(struct crypt_data); | ||
#endif // SANITIZER_LINUX && !SANITIZER_ANDROID | ||
|
||
#if SANITIZER_LINUX && !SANITIZER_ANDROID | ||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | ||
index 83861105a509..7ad11b943157 100644 | ||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | ||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | ||
@@ -295,7 +295,6 @@ extern unsigned struct_msqid_ds_sz; | ||
extern unsigned struct_mq_attr_sz; | ||
extern unsigned struct_timex_sz; | ||
extern unsigned struct_statvfs_sz; | ||
-extern unsigned struct_crypt_data_sz; | ||
#endif // SANITIZER_LINUX && !SANITIZER_ANDROID | ||
|
||
struct __sanitizer_iovec { | ||
-- | ||
2.43.0 | ||
|
Oops, something went wrong.