Repository navigation
Conversation
Hayao0819
force-pushed
the
sdk-rebase-v2.30.1
branch
from
September 5, 2026 13:22
f278b83 to
b875e93
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.
Rebase the Intel SDK patches onto upstream tag
sgx_2.30.1.v2.30 split the monolithic
linux-sgxtree, which is what makes this more than a straight rebase. The untrusted runtime (uRTS) moved out ofpsw/into a newsdksubmodule (intel/confidential-computing.sgx.sdk) and is now built intosdk/build/linuxLOAD/, so the files the AEP/TCS patch touches moved with it:psw/urts/linux/{urts.cpp,enter_enclave.S,urts.lds}are now underenclave_runtime/urts/linux/, andcommon/inc/sgx_urts.handsdk/simulation/urtssim/urts_deploy.clive in thesdksubmodule as well.0001-reconfigure-AEP-TCS-ebase.patchis regenerated against the new paths, andpatch_sdk.shapplies it inside the nestedlinux-sgx/sdksubmodule. (The 32-bit0000-…patchis not rebased; 32-bit builds remain unsupported on v2.30.)The install script and app Makefiles needed matching changes.
install_SGX_SDK.shnow fetches submodules recursively, and since v2.30 removed the legacy PSW.bininstaller (make psw_install_pkg) it builds the patched uRTS withmake psw; the sample apps link it fromlinux-sgx/sdk/build/linuxLOADrather thanlinux-sgx/psw/urts/linux. I also dropped theservice aesmd statusline from CI: v2.30 no longer installs the PSW system-wide (its replacement is the much largerdeb_psw_aesm_pkgaggregate), and the SGX-Step sample enclaves run with Flexible Launch Control in debug mode, which does not needaesmd.Verification
Built the patched SDK + uRTS with the updated
install_SGX_SDK.shon a Gemini Lake machine (Debian 12, kernel 6.1) and confirmed the hooks are exported:app/benchlinks against the patched runtime and single-steps a NOP slide.