Changeset 81fd230 for chapter06/linux-libc-headers.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/linux-libc-headers.xml
r2f9131f r81fd230 13 13 14 14 <sect2 role="package"><title/> 15 <para>The Linux-Libc-Headers package contains the 16 <quote>sanitized</quote> kernel headers.</para> 15 17 16 18 <segmentedlist> … … 20 22 </segmentedlist> 21 23 24 <segmentedlist> 25 <segtitle>Linux-Libc-Headers installation depends on</segtitle> 26 <seglistitem><seg>Coreutils</seg></seglistitem> 27 </segmentedlist> 28 22 29 </sect2> 23 30 24 31 <sect2 role="installation"> 25 32 <title>Installation of Linux-Libc-Headers</title> 33 34 <para>For years it has been common practice to use <quote>raw</quote> 35 kernel headers (straight from a kernel tarball) in <filename 36 class="directory">/usr/include</filename>, but over the last few 37 years, the kernel developers have taken a strong stance that this 38 should not be done. This gave birth to the Linux-Libc-Headers Project, 39 which was designed to maintain an API stable version of the Linux 40 headers.</para> 26 41 27 42 <para>Install the header files:</para> … … 30 45 cp -R include/linux /usr/include</userinput></screen> 31 46 32 <para> Assure that all the headers are owned by root:</para>47 <para>Ensure that all the headers are owned by root:</para> 33 48 34 49 <screen><userinput>chown -R root:root /usr/include/{asm,linux}</userinput></screen> 35 50 36 <para> And make sure allthe users can read the headers:</para>51 <para>Make sure the users can read the headers:</para> 37 52 38 53 <screen><userinput>find /usr/include/{asm,linux} -type d -exec chmod 755 {} \; … … 44 59 <sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title> 45 60 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> 47 77 48 78 </sect2> 49 79 50 80 </sect1> 81
Note:
See TracChangeset
for help on using the changeset viewer.