Changes in / [f8a51225:d8c9a43f]


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    rf8a51225 rd8c9a43f  
    207207      expected. To perform a sanity check, run the following commands:</para>
    208208
    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>
    212211
    213212      <para>If everything is working correctly, there should be no errors,
     
    224223      continuing on.</para>
    225224
    226       <para>Once all is well, clean up the test files:</para>
    227 
    228 <screen><userinput>rm -v dummy.c a.out</userinput></screen>
     225      <para>Once all is well, clean up the test file:</para>
     226
     227<screen><userinput>rm -v a.out</userinput></screen>
    229228
    230229    </caution>
  • chapter08/glibc.xml

    rf8a51225 rd8c9a43f  
    456456    <para>By default, the dynamic loader (<filename
    457457    class="libraryfile">/lib/ld-linux.so.2</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/ld.so.conf</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>
     152
     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>
     159
     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>
    153170
     
    258275      </varlistentry>
    259276
     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>
     288
     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>
     298
    260299    </variablelist>
    261300
Note: See TracChangeset for help on using the changeset viewer.