- Update to glibc 2.41 * In /etc/resolv.conf and the RES_OPTIONS environment variable, option flags can now be prefixed with “-” to clear previously set flags * The DNS stub resolver now supports the strict-error option * On Linux, the sched_setattr and sched_getattr functions have been added * The iconv program now supports converting files in place * Character encoding, character type info, and transliteration tables have been updated to Unicode 16.0.0 * The following ISO C23 function families (introduced in TS 18661-4:2015) are now supported in <math.h>: - Trigonometric functions: acospi, asinpi, atan2pi, atanpi, cospi, sinpi, tanpi. * The GNU C Library now supports a feature test macro _ISOC2Y_SOURCE to enable features from the draft ISO C2Y standard * Optimized and correctly rounded exp10m1f, exp2m1f, expm1f, log10f, log2p1f, log1pf, log10p1f, cbrtf, erff, erfcf, lgammaf, tgammaf, tanf, acosf, acoshf, asinf, asinhf, atanf, atan2f, atanhf, coshf, sinhf, and tanhf functions have been added from the CORE-MATH project <https://core-math.gitlabpages.inria.fr/> * A new tunable, glibc.rtld.execstack, can be used to control whether an executable stack is allowed from the main program, either implicitly due to a mising GNU_STACK ELF header or explicit explicitly because of the executable bit in GNU_STACK * Support for the extensible rseq ABI introduced in the Linux kernel version 6.3 has been added * The GNU C Library now supports the Guarded Control Stack extension that allows to use shadow stacks on AArch64 systems that support this extension * Significant effort has been put into improving the code generation OBS-URL: https://build.opensuse.org/request/show/1242430 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=730
29 lines
766 B
Diff
29 lines
766 B
Diff
From 5f62cf88c4530c11904482775b7582bd7f6d80d2 Mon Sep 17 00:00:00 2001
|
|
From: Andreas Schwab <schwab@suse.de>
|
|
Date: Wed, 25 Sep 2024 11:49:30 +0200
|
|
Subject: [PATCH] Fix missing randomness in __gen_tempname (bug 32214)
|
|
|
|
Make sure to update the random value also if getrandom fails.
|
|
|
|
Fixes: 686d542025 ("posix: Sync tempname with gnulib")
|
|
---
|
|
sysdeps/posix/tempname.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
|
|
index c00fe0c181..fc30958a0c 100644
|
|
--- a/sysdeps/posix/tempname.c
|
|
+++ b/sysdeps/posix/tempname.c
|
|
@@ -117,6 +117,8 @@ random_bits (random_value *r, random_value s)
|
|
succeed. */
|
|
#if !_LIBC
|
|
*r = mix_random_values (v, clock ());
|
|
+#else
|
|
+ *r = v;
|
|
#endif
|
|
return false;
|
|
}
|
|
--
|
|
2.46.2
|
|
|