Changeset 31435ca


Ignore:
Timestamp:
02/04/2003 03:52:17 AM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a20bfb4
Parents:
e5c5f01
Message:

updated fileutils patch explanation

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/fileutils-inst.xml

    re5c5f01 r31435ca  
    44<title>Installation of Fileutils</title>
    55
    6 <para>The programs from a statically linked Fileutils package may cause
    7 segmentation faults on certain systems, if your distribution has
    8 Glibc-2.2.3 installed. It seems to happen mostly on machines
    9 powered by an AMD CPU, but there is a case or two where an Intel system
    10 is affected as well. If your system falls in this category, apply the
    11 patch.</para>
     6<para>There is a documented (see
     7<ulink url="http://mail.gnu.org/pipermail/bug-glibc/2001-May/003149.html"/>)
     8bug with the atexit() function in glibc-2.2.3 when it is compiled with
     9gcc-2.95.3. This bug only occurs on some systems (primarily AMD, but not
     10exclusively). This bug causes segmentation faults in fileutils-4.1 when it
     11is compiled statically. This patch causes on_exit() to be called instead of
     12atexit().</para>
    1213
    1314<para>Note that in some cases using this patch will result in not being
  • chapter06/ed-inst.xml

    re5c5f01 r31435ca  
    1111<para>Ed uses mktemp to create temporary files in <filename
    1212class="directory">/tmp</filename>, but this function has a security
    13 vulnerability (see section on Temporary Files in
    14 <ulink url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>).
    15 This patch makes Ed use mkstemp instead, which is the recommended way to
    16 create temporary files.</para>
     13vulnerability (see section on Temporary Files in <ulink
     14url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). This
     15patch makes Ed use mkstemp instead, which is the recommended way to create
     16temporary files.</para>
    1717
    1818<para>Apply the patch:</para>
     
    3333
    3434<para>We need to move the Ed binaries to the <filename
    35 class="directory">/bin</filename> directory so they may be used in
    36 the event that the <filename class="directory">/usr</filename>
    37 partition is unavailable.</para>
     35class="directory">/bin</filename> directory so they may be used in the event
     36that the <filename class="directory">/usr</filename> partition is
     37unavailable.</para>
    3838
    3939<para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para>
    4040
    4141</sect2>
    42 
Note: See TracChangeset for help on using the changeset viewer.