glibc: 2.30 -> 2.31
https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00001.html
This commit is contained in:
parent
d87b595e53
commit
4a78b2b04f
2 changed files with 2 additions and 22 deletions
|
@ -1,18 +0,0 @@
|
||||||
Adapted from https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=patch;h=4d5cfeb510125345cb41431afc9022492994cffa, omitting changes to NEWS
|
|
||||||
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
|
|
||||||
index 1943691..ac694c0 100644
|
|
||||||
--- a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
|
|
||||||
+++ b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
|
|
||||||
@@ -31,7 +31,8 @@
|
|
||||||
environment variable, LD_PREFER_MAP_32BIT_EXEC. */
|
|
||||||
#define EXTRA_LD_ENVVARS \
|
|
||||||
case 21: \
|
|
||||||
- if (memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0) \
|
|
||||||
+ if (!__libc_enable_secure \
|
|
||||||
+ && memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0) \
|
|
||||||
GLRO(dl_x86_cpu_features).feature[index_arch_Prefer_MAP_32BIT_EXEC] \
|
|
||||||
|= bit_arch_Prefer_MAP_32BIT_EXEC; \
|
|
||||||
break;
|
|
||||||
--
|
|
||||||
2.9.3
|
|
||||||
|
|
|
@ -36,9 +36,9 @@
|
||||||
} @ args:
|
} @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.30";
|
version = "2.31";
|
||||||
patchSuffix = "";
|
patchSuffix = "";
|
||||||
sha256 = "1bxqpg91d02qnaz837a5kamm0f43pr1il4r9pknygywsar713i72";
|
sha256 = "05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj";
|
||||||
in
|
in
|
||||||
|
|
||||||
assert withLinuxHeaders -> linuxHeaders != null;
|
assert withLinuxHeaders -> linuxHeaders != null;
|
||||||
|
@ -108,8 +108,6 @@ stdenv.mkDerivation ({
|
||||||
})
|
})
|
||||||
|
|
||||||
./fix-x64-abi.patch
|
./fix-x64-abi.patch
|
||||||
./2.27-CVE-2019-19126.patch
|
|
||||||
./2.30-cve-2020-1752.patch
|
|
||||||
]
|
]
|
||||||
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch
|
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch
|
||||||
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch;
|
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch;
|
||||||
|
|
Loading…
Reference in a new issue