6.9. Linux-Libc-Headers-2.6.11.2

The Linux-Libc-Headers package contains the “sanitized” kernel headers.

Approximate build time: 0.1 SBU
Required disk space: 26.9 MB
Installation depends on: Coreutils

6.9.1. Installation of Linux-Libc-Headers

For years it has been common practice to use “raw” kernel headers (straight from a kernel tarball) in /usr/include, but over the last few years, the kernel developers have taken a strong stance that this should not be done. This gave birth to the Linux-Libc-Headers Project, which was designed to maintain an API stable version of the Linux headers.

Install the header files:

cp -R include/asm-i386 /usr/include/asm
cp -R include/linux /usr/include

Ensure that all the headers are owned by root:

chown -R root:root /usr/include/{asm,linux}

Make sure the users can read the headers:

find /usr/include/{asm,linux} -type d -exec chmod 755 {} \;
find /usr/include/{asm,linux} -type f -exec chmod 644 {} \;

6.9.2. Contents of Linux-Libc-Headers

Installed headers: /usr/include/{asm,linux}/*.h

Short Descriptions

/usr/include/{asm,linux}/*.h

The Linux headers API