ANDROID: add initial KMI representation and enable KMI enforcement

Add android/abi_gki_aarch64.xml as initial ABI representation of the KMI
and start enforcing KMI. While this is hard enforcement in the code
base, we still allow controlled changes to the ABI until KMI freeze.

Bug: 220181989
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Icfdc0a05899667db3a45dca2977edce0cde9b600
This commit is contained in:
Matthias Maennich
2022-02-23 10:58:47 +00:00
parent 2b5b0c26e9
commit a6709aafdd
2 changed files with 129145 additions and 0 deletions

129143
android/abi_gki_aarch64.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,7 @@ MAKE_GOALS="${MAKE_GOALS}
Image.lz4
"
ABI_DEFINITION=android/abi_gki_aarch64.xml
TIDY_ABI=1
# Update BUILD.bazel, define_common_kernels() if the list differs from
# android/abi_gki_aarch64* in the filesystem.
@@ -26,6 +27,7 @@ arch/arm64/boot/Image.lz4
# Update BUILD.bazel, define_common_kernels() if the value is not 1.
TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
KMI_SYMBOL_LIST_STRICT_MODE=${KMI_SYMBOL_LIST_STRICT_MODE:-1}
KMI_ENFORCED=1
BUILD_SYSTEM_DLKM=1
MODULES_LIST=${ROOT_DIR}/${KERNEL_DIR}/android/gki_system_dlkm_modules