aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-02 10:54:44 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-02 10:54:44 +0800
commit7a8fcc39182cf2c556f9a738f0f3fe6e39cd0737 (patch)
tree4af3b1a5fd6b978c69bc2d7827f8383a53f77c52
parent8ada78d73e3bb15ad193dee84b830e3d8cf64cea (diff)
glibc: Remove sed and option unneeded with 2.38
--disable-crypt is now the default, and the security fix for 2.37 is included.
-rw-r--r--chapter05/glibc.xml1
-rw-r--r--chapter08/glibc.xml11
2 files changed, 0 insertions, 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</userinput></screen>
--build=$(../scripts/config.guess) \
--enable-kernel=&min-kernel; \
--with-headers=$LFS/usr/include \
- --disable-crypt \
libc_cv_slibdir=/usr/lib</userinput></screen>
<variablelist>
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 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
- <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30068
- Upstream fix also added a test case and renamed "prec" to
- "prec_inc". We'll test this with MPFR test suite so we don't
- need the test here, and the renaming does not affect program
- behavior. -->
- <para>Fix a security issue identified upstream:</para>
-
-<screen><userinput remap="pre">sed '/width -=/s/workend - string/number_length/' \
- -i stdio-common/vfprintf-process-arg.c</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
@@ -79,7 +69,6 @@ cd build</userinput></screen>
--enable-kernel=&min-kernel; \
--enable-stack-protector=strong \
--with-headers=/usr/include \
- --disable-crypt \
libc_cv_slibdir=/usr/lib</userinput></screen>
<variablelist>