Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 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.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, 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:
3d31fc4
Parents:
2f9131f
Message:

Trunk is now identical to Testing

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/linux-libc-headers.xml

    r2f9131f r81fd230  
    1313
    1414<sect2 role="package"><title/>
     15<para>The Linux-Libc-Headers package contains the
     16<quote>sanitized</quote> kernel headers.</para>
    1517
    1618<segmentedlist>
     
    2022</segmentedlist>
    2123
     24<segmentedlist>
     25<segtitle>Linux-Libc-Headers installation depends on</segtitle>
     26<seglistitem><seg>Coreutils</seg></seglistitem>
     27</segmentedlist>
     28
    2229</sect2>
    2330
    2431<sect2 role="installation">
    2532<title>Installation of Linux-Libc-Headers</title>
     33
     34<para>For years it has been common practice to use <quote>raw</quote>
     35kernel headers (straight from a kernel tarball) in <filename
     36class="directory">/usr/include</filename>, but over the last few
     37years, the kernel developers have taken a strong stance that this
     38should not be done. This gave birth to the Linux-Libc-Headers Project,
     39which was designed to maintain an API stable version of the Linux
     40headers.</para>
    2641
    2742<para>Install the header files:</para>
     
    3045cp -R include/linux /usr/include</userinput></screen>
    3146
    32 <para>Assure that all the headers are owned by root:</para>
     47<para>Ensure that all the headers are owned by root:</para>
    3348
    3449<screen><userinput>chown -R root:root /usr/include/{asm,linux}</userinput></screen>
    3550
    36 <para>And make sure all the users can read the headers:</para>
     51<para>Make sure the users can read the headers:</para>
    3752
    3853<screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;
     
    4459<sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title>
    4560
    46 <para>See testing</para>
     61<segmentedlist>
     62<segtitle>Installed headers</segtitle>
     63<seglistitem><seg>/usr/include/{asm,linux}/*.h</seg></seglistitem>
     64</segmentedlist>
     65
     66<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
     67<?dbfo list-presentation="list"?>
     68
     69<varlistentry id="linux-libc-headers">
     70<term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
     71<listitem>
     72<para>The Linux headers API</para>
     73<indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm>
     74</listitem>
     75</varlistentry>
     76</variablelist>
    4777
    4878</sect2>
    4979
    5080</sect1>
     81
Note: See TracChangeset for help on using the changeset viewer.