From 7a8fcc39182cf2c556f9a738f0f3fe6e39cd0737 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 2 Aug 2023 10:54:44 +0800 Subject: [PATCH] glibc: Remove sed and option unneeded with 2.38 --disable-crypt is now the default, and the security fix for 2.37 is included. --- chapter05/glibc.xml | 1 - chapter08/glibc.xml | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 7fb5e98c5..14f1fac6c 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -91,7 +91,6 @@ cd build --build=$(../scripts/config.guess) \ --enable-kernel=&min-kernel; \ --with-headers=$LFS/usr/include \ - --disable-crypt \ libc_cv_slibdir=/usr/lib diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index a1f23a96b..791a6b707 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -50,16 +50,6 @@ patch -Np1 -i ../&glibc-fhs-patch; - - Fix a security issue identified upstream: - -sed '/width -=/s/workend - string/number_length/' \ - -i stdio-common/vfprintf-process-arg.c - The Glibc documentation recommends building Glibc in a dedicated build directory: @@ -79,7 +69,6 @@ cd build --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ --with-headers=/usr/include \ - --disable-crypt \ libc_cv_slibdir=/usr/lib