[lfs] branch trunk updated: glibc: reword for the patch update

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <177915824128.15572.6915351875002999872@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new d235207a6 glibc: reword for the patch update
d235207a6 is described below

commit d235207a6dfaa102509f8147963167cb91bde505
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue May 19 10:35:47 2026 +0800

    glibc: reword for the patch update
    
    Remove a sed conflicting with the patch (it's actually doing the same
    thing as a part of the patch).
---
 chapter05/glibc.xml |  6 +++++-
 chapter08/glibc.xml | 10 +++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 9c61ac31d..a13e6d423 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -72,10 +72,14 @@ esac</userinput></screen>
 
 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
 
-    <para>Now fix glibc to build against Linux 7.</para>
+    <para>Now fix glibc to build against Linux 7:</para>
 
 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
 
+    <para>The patch applied above also contains fixes of some security
+    vulnerabilities.  The fix is not needed but also harmless for a temporary
+    glibc installation.</para>
+
     <para>The Glibc documentation recommends building Glibc
     in a dedicated build directory:</para>
 
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index fc6ff3b58..b910d3d4b 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -43,12 +43,6 @@
   <sect2 role="installation">
     <title>Installation of Glibc</title>
 
-    <para>First, apply a fix to DNS processing from upstream:</para>
-
-<screen><userinput remap="pre">sed -e '/while..ancount/c\  for (; ancount > 0; --ancount)'  \
-    -e '/binary_hnok..expected/s/expected_name/name_buffer/' \
-    -i resolv/nss_dns/dns-host.c</userinput></screen>
-
     <para>Some of the Glibc programs use the non-FHS compliant
     <filename class="directory">/var/db</filename> directory to store
     their runtime data. Apply the following patch to make such programs
@@ -56,7 +50,9 @@
 
 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
 
-    <para>Now add some fixes to address building and testing with Linux 7:</para>
+    <para>Now add some fixes to address building and testing with Linux 7,
+    and fix 5 security vulnerabilities found after the glibc-2.43
+    release:</para>
 
 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.