Changeset 326224b for chapter06


Ignore:
Timestamp:
03/04/2015 03:23:00 AM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
41246d4, eace3bf
Parents:
b304545
Message:

Add seds to grep and e3fsprogs to fix security issues found upstream.
Remove unrecognized option in eudev.
Minor text corrections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10863 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter06/e2fsprogs.xml

    rb304545 r326224b  
    4444  <sect2 role="installation">
    4545    <title>Installation of E2fsprogs</title>
     46
     47    <para>First, fix a potential security issue identified upstream:</para>
     48
     49<screen><userinput remap="pre">sed -e '/int.*old_desc_blocks/s/int/blk64_t/' \
     50    -e '/if (old_desc_blocks/s/super->s_first_meta_bg/desc_blocks/' \
     51    -i lib/ext2fs/closefs.c</userinput></screen>
    4652
    4753    <para>The E2fsprogs documentation recommends that the package be built in
  • chapter06/eudev.xml

    rb304545 r326224b  
    6363            --disable-introspection \
    6464            --disable-gudev         \
    65             --disable-gtk-doc-html  \
    66             --with-firmware-path=/lib/firmware </userinput></screen>
     65            --disable-gtk-doc-html</userinput></screen>
    6766
    6867<para>Compile the package:</para>
  • chapter06/glibc.xml

    rb304545 r326224b  
    156156      <listitem>
    157157        <para>Other tests known to fail on some architectures are
    158         malloc/tst-malloc-usable and  nptl/tst-cleanupx4. </para>
     158        malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para>
    159159      </listitem>
    160160
  • chapter06/grep.xml

    rb304545 r326224b  
    4040  <sect2 role="installation">
    4141    <title>Installation of Grep</title>
     42
     43    <para>First fix a potential security issue identified upstream:</para>
     44
     45<screen><userinput remap="configure">sed -i -e '/tp++/a  if (ep &lt;= tp) break;' src/kwset.c</userinput></screen>
    4246
    4347    <para>Prepare Grep for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.