Changes in / [f8a51225:d8c9a43f]

3 edited


  • chapter05/glibc.xml

    rf8a51225 rd8c9a43f  
    207207      expected. To perform a sanity check, run the following commands:</para>
    209 <screen><userinput>echo 'int main(){}' &gt; dummy.c
    210 $LFS_TGT-gcc dummy.c
    211 readelf -l a.out | grep '/ld-linux'</userinput></screen>
     209<screen><userinput>echo 'int main(){}' | gcc -xc -
     210readelf -l a.out | grep ld-linux</userinput></screen>
    213212      <para>If everything is working correctly, there should be no errors,
    224223      continuing on.</para>
    226       <para>Once all is well, clean up the test files:</para>
    228 <screen><userinput>rm -v dummy.c a.out</userinput></screen>
     225      <para>Once all is well, clean up the test file:</para>
     227<screen><userinput>rm -v a.out</userinput></screen>
    230229    </caution>
  • chapter08/glibc.xml

    rf8a51225 rd8c9a43f  
    456456    <para>By default, the dynamic loader (<filename
    457457    class="libraryfile">/lib/</filename>) searches through
    458     <filename class="directory">/lib</filename> and <filename
    459     class="directory">/usr/lib</filename> for dynamic libraries that are
    460     needed by programs as they are run. However, if there are libraries in
    461     directories other than <filename class="directory">/lib</filename> and
     458    <filename class="directory">/usr/lib</filename> for dynamic libraries
     459    that are needed by programs as they are run. However, if there are
     460    libraries in directories other than
    462461    <filename class="directory">/usr/lib</filename>, these need to be added
    463462    to the <filename>/etc/</filename> file in order for the
  • chapter10/kernel.xml

    rf8a51225 rd8c9a43f  
    150150       Pseudo filesystems  ---&gt;
    151151        [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
     153      <para>Enable some additional features if you are building a 64-bit
     154      system.  If you are using menuconfig, enable them in the order of
     155      <parameter>CONFIG_PCI_MSI</parameter> first, then
     156      <parameter>CONFIG_IRQ_REMAP</parameter>, at last
     157      <parameter>CONFIG_X86_X2APIC</parameter> because an option only
     158      shows up after its dependencies are selected.</para>
     160      <screen role="nodump">Processor type and features ---&gt;
     161  [*] Support x2apic [CONFIG_X86_X2APIC]
     162Memory Management options  ---&gt;
     163  [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]
     164Device Drivers ---&gt;
     165  [*] PCI Support ---&gt; [CONFIG_PCI]
     166    [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
     167  [*] IOMMU Hardware Support ---&gt; [CONFIG_IOMMU_SUPPORT]
     168    [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
    152169    </note>
    258275      </varlistentry>
     277      <varlistentry>
     278        <term><parameter>Support x2apic</parameter></term>
     279        <listitem>
     280          <para>Support running the interrupt controller of 64-bit x86
     281          processors in x2APIC mode.  x2APIC may be enabled by firmware on
     282          64-bit x86 systems, and a kernel without this option enabled will
     283          panic on boot if x2APIC is enabled by firmware.  This option has
     284          has no effect, but also does no harm if x2APIC is disabled by the
     285          firmware.</para>
     286        </listitem>
     287      </varlistentry>
     289      <varlistentry>
     290        <term><parameter>Enable userfaultfd() system call</parameter></term>
     291        <listitem>
     292          <para>If this option is enabled, a security vulnerability not
     293          resolved in Linux-&linux-version; yet will be exploitable.
     294          Disable this option to avoid the vulnerability.  This system call
     295          is not used by any part of LFS or BLFS.</para>
     296        </listitem>
     297      </varlistentry>
    260299    </variablelist>
Note: See TracChangeset for help on using the changeset viewer.