Installed headers: /usr/include/{asm,linux}/*.h
The Linux-Libc-Headers package contains the “sanitized” kernel headers.
Approximate build time: 0.1 SBU
Required disk space: 22 MB
Linux-Libc-Headers installation depends on: Coreutils
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 {} \;