Enable CONFIG_FS_ENCRYPTION (fscrypt) in 3.0 kernels#17928
Open
dethoma wants to merge 1 commit into
Open
Conversation
Set CONFIG_FS_ENCRYPTION=y and CONFIG_FS_ENCRYPTION_ALGS=y in the self-compiling 3.0 kernel flavors: kernel, kernel-hwe, kernel-mshv, and kernel-64k (aarch64). kernel-uki inherits fscrypt from the kernel binary it wraps, so it needs no config change. The required crypto select-closure symbols were already enabled, so there is no olddefconfig drift. Updates the config/config_aarch64 SHA-256 hashes in the affected *.signatures.json files, bumps Release 1->2 with changelog entries, and cascades matching Release bumps to entangled sibling specs to satisfy the Version-Release lockstep check. Since kernel-headers is a toolchain package, the toolchain and pkggen_core manifests are updated to its new -2 release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ef3c585 to
83f7f40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Checklist
*-staticsubpackages, etc.) have had theirReleasetag incremented.*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
Enables the Linux filesystem-level encryption feature (fscrypt) across the Azure Linux 3.0 kernel flavors. fscrypt provides native per-directory encryption (used by tools like
fscryptctl/fscryptand theFS_IOC_SET_ENCRYPTION_POLICYioctl) for ext4, f2fs, and other supporting filesystems. Previously all 3.0 kernels shipped with# CONFIG_FS_ENCRYPTION is not set.This change sets
CONFIG_FS_ENCRYPTION=yandCONFIG_FS_ENCRYPTION_ALGS=yin every self-compiling 3.0 kernel flavor. The required crypto select-closure symbols (AES/CBC/CTS/ECB/XTS/HMAC/SHA256/SHA512/SKCIPHER/LIB_SHA256/KEYS) were already=y, so there is no olddefconfig drift.Change Log
kernel,kernel-hwe,kernel-mshv, andkernel-64k(aarch64-only).kernel-ukiinherits fscrypt automatically — it reuses the prebuiltkernelvmlinuz (no own kernel config), so no config change was required there.config/config_aarch64SHA-256 hashes inkernel.signatures.json,kernel-hwe.signatures.json,kernel-mshv.signatures.json, andkernel-64k.signatures.json.Release(1 → 2) with changelog entries on the affected kernel specs, and cascaded matchingReleasebumps to all entangled sibling specs to satisfy the Version-Release lockstep check (kernel-signed,kernel-64k-signed,kernel-uki,kernel-uki-signed,kernel-64k,kernel-headers,kernel-hwe-signed,kernel-hwe-headers,kernel-mshv-signed).toolchain_x86_64.txt,toolchain_aarch64.txt,pkggen_core_x86_64.txt,pkggen_core_aarch64.txt) to reflect the newkernel-headers/kernel-cross-headers-2release, sincekernel-headersis a toolchain package.Affected packages:
kernel,kernel-hwe,kernel-mshv,kernel-64k,kernel-uki,kernel-headers,kernel-cross-headers, and their-signed/-headersvariants.Does this affect the toolchain?
YES —
kernel-headersis a toolchain package; itsReleasebump required updating the toolchain and pkggen_core manifests. The toolchain was rebuilt successfully in the pipeline.Associated issues
Test Methodology