Changes in / [d8c9a43f:f8a51225]


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

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

    rd8c9a43f rf8a51225  
    456456    <para>By default, the dynamic loader (<filename
    457457    class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
    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
     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
    461462    <filename class="directory">/usr/lib</filename>, these need to be added
    462463    to the <filename>/etc/ld.so.conf</filename> file in order for the
  • chapter10/kernel.xml

    rd8c9a43f rf8a51225  
    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]
    162 Memory Management options  ---&gt;
    163   [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]
    164 Device 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>
    169152    </note>
    170153
     
    275258      </varlistentry>
    276259
    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 
    299260    </variablelist>
    300261
Note: See TracChangeset for help on using the changeset viewer.