platform_bionic/libc/kernel/android
Christopher Ferris 9584fa46e9 Update to android-mainline kernel headers v5.4.
Update generate_uapi_headers.sh to checkout the android mainline
kernel. Also, add a small modification to look for the kernel directory
in common not linux-stable.

Remove deprecated android headers from android/uapi/linux. Also,
remove f_accessory.h since it's in the android mainline kernel.

Test: Builds and runs on walleye.
Change-Id: Ia371305e19f56e6bcc2db6d5b4d299819f07ffc6
2019-12-12 14:59:25 -08:00
..
scsi/scsi Update to v4.17.3 kernel headers. 2018-06-27 14:12:29 -07:00
uapi/linux Update to android-mainline kernel headers v5.4. 2019-12-12 14:59:25 -08:00
README.md Move kernel README files to Markdown. 2019-04-11 13:38:25 -07:00

The files under the uapi directory are android kernel uapi header files that exist in android kernels, but have not been upstreamed into the regular kernel.

None of these files are updated automatically, and are frozen at their current value.

The files under the scsi directory are frozen copies of kernel scsi headers. Linux's scsi headers are a mix of userspace-facing and kernel-facing declarations that can't be directly used by userspace. The glibc maintainers manually copy-and-pasted these definitions into their own scsi headers and haven't substantially updated them in 15 years. The musl libc project has a similar set of definitions in its scsi headers.

These files are actually maintained in external/kernel-headers/modified/scsi/. Any modification should first be made there then copied into the scsi directory.