xref: /aosp_15_r20/bionic/libc/kernel/android/README.md (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard WorkerThe files under the uapi directory are android kernel uapi header files that
2*8d67ca89SAndroid Build Coastguard Workerexist in android kernels, but have not been upstreamed into the regular
3*8d67ca89SAndroid Build Coastguard Workerkernel.
4*8d67ca89SAndroid Build Coastguard Worker
5*8d67ca89SAndroid Build Coastguard WorkerNone of these files are updated automatically, and are frozen at their
6*8d67ca89SAndroid Build Coastguard Workercurrent value.
7*8d67ca89SAndroid Build Coastguard Worker
8*8d67ca89SAndroid Build Coastguard WorkerThe files under the scsi directory are frozen copies of kernel scsi headers.
9*8d67ca89SAndroid Build Coastguard WorkerLinux's scsi headers are a mix of userspace-facing and kernel-facing
10*8d67ca89SAndroid Build Coastguard Workerdeclarations that can't be directly used by userspace. The glibc
11*8d67ca89SAndroid Build Coastguard Workermaintainers manually copy-and-pasted these definitions into their own
12*8d67ca89SAndroid Build Coastguard Workerscsi headers and haven't substantially updated them in 15 years. The
13*8d67ca89SAndroid Build Coastguard Workermusl libc project has a similar set of definitions in its scsi headers.
14*8d67ca89SAndroid Build Coastguard Worker
15*8d67ca89SAndroid Build Coastguard WorkerThese files are actually maintained in `external/kernel-headers/modified/scsi/`.
16*8d67ca89SAndroid Build Coastguard WorkerAny modification should first be made there then copied into the scsi
17*8d67ca89SAndroid Build Coastguard Workerdirectory.
18