repo/core/linux-headers
Owen Rafferty 685d0da542
linux-headers: 6.1.15
2023-03-04 13:23:22 -06:00
..
README repo: check-in readmes 2021-08-26 07:22:10 +03:00
build linux-headers: update for new env 2021-07-18 06:55:14 +03:00
checksums linux-headers: 6.1.15 2023-03-04 13:23:22 -06:00
sources linux-headers: 6.1.15 2023-03-04 13:23:22 -06:00
version linux-headers: 6.1.15 2023-03-04 13:23:22 -06:00

README

linux-headers
________________________________________________________________________________

The linux kernel's exported header files describe the API for user space
programs attempting to use kernel services. These kernel header files are used
by the system's C library (such as glibc or uClibc) to define available system
calls, as well as constants and structures to be used with these system calls.
The C library's header files include the kernel header files from the "linux"
subdirectory. The system's libc headers are usually installed at the default
location /usr/include and the kernel headers in subdirectories under that
(most notably /usr/include/linux and /usr/include/asm). [0]

Upstream: https://kernel.org


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Troubleshooting ........................................................ [002]
  * The Headers Do Not Match My Kernel Version ........................... [003]
* References ............................................................. [004]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b linux-headers                                                      |
|                                                                              |
+------------------------------------------------------------------------------+



[002] Troubleshooting
________________________________________________________________________________


--[003] The Headers Do Not Match My Kernel Version -----------------------------

  The kernel headers in KISS are pinned to an LTS kernel version and are only
  updated when there are changes of interest in the kernel or headers themselves
  (usually by users requesting new features available in the newer headers).

  The headers are backwards compatible and are fully usable with a matching or
  _newer_ kernel version. There are two cases where you'd be required to update
  the headers yourself.

  1. To run a kernel _older_ than the default headers.
  2. To make use of features in your _newer_ kernel version.


[004] References
________________________________________________________________________________

[0] https://www.kernel.org/doc/Documentation/kbuild/headers_install.txt