Changes in / [d8c9a43f:f8a51225]
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
rd8c9a43f rf8a51225 207 207 expected. To perform a sanity check, run the following commands:</para> 208 208 209 <screen><userinput>echo 'int main(){}' | gcc -xc - 210 readelf -l a.out | grep ld-linux</userinput></screen> 209 <screen><userinput>echo 'int main(){}' > dummy.c 210 $LFS_TGT-gcc dummy.c 211 readelf -l a.out | grep '/ld-linux'</userinput></screen> 211 212 212 213 <para>If everything is working correctly, there should be no errors, … … 223 224 continuing on.</para> 224 225 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> 228 229 229 230 </caution> -
chapter08/glibc.xml
rd8c9a43f rf8a51225 456 456 <para>By default, the dynamic loader (<filename 457 457 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 461 462 <filename class="directory">/usr/lib</filename>, these need to be added 462 463 to the <filename>/etc/ld.so.conf</filename> file in order for the -
chapter10/kernel.xml
rd8c9a43f rf8a51225 150 150 Pseudo filesystems ---> 151 151 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 152 153 <para>Enable some additional features if you are building a 64-bit154 system. If you are using menuconfig, enable them in the order of155 <parameter>CONFIG_PCI_MSI</parameter> first, then156 <parameter>CONFIG_IRQ_REMAP</parameter>, at last157 <parameter>CONFIG_X86_X2APIC</parameter> because an option only158 shows up after its dependencies are selected.</para>159 160 <screen role="nodump">Processor type and features --->161 [*] Support x2apic [CONFIG_X86_X2APIC]162 Memory Management options --->163 [ ] Enable userfaultfd() system call [CONFIG_USERFAULTFD]164 Device Drivers --->165 [*] PCI Support ---> [CONFIG_PCI]166 [*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]167 [*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]168 [*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>169 152 </note> 170 153 … … 275 258 </varlistentry> 276 259 277 <varlistentry>278 <term><parameter>Support x2apic</parameter></term>279 <listitem>280 <para>Support running the interrupt controller of 64-bit x86281 processors in x2APIC mode. x2APIC may be enabled by firmware on282 64-bit x86 systems, and a kernel without this option enabled will283 panic on boot if x2APIC is enabled by firmware. This option has284 has no effect, but also does no harm if x2APIC is disabled by the285 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 not293 resolved in Linux-&linux-version; yet will be exploitable.294 Disable this option to avoid the vulnerability. This system call295 is not used by any part of LFS or BLFS.</para>296 </listitem>297 </varlistentry>298 299 260 </variablelist> 300 261
Note:
See TracChangeset
for help on using the changeset viewer.