selftests/sgx: Early enclave loading error path fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 13 repliesSuperseded
- v14 patches 13 repliesSuperseded
Changes in v3 from the cover letter
- V2: https://lore.kernel.org/linux-sgx/[email protected]/
- Added Acked-by from Shuah to all patches in series.
- Shuah is ok with these entering the kernel via tip.git:
https://lore.kernel.org/linux-sgx/[email protected]/
- Include [email protected] and more x86 maintainers since goal is for inclusion into tip.git.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests/sgx: Fix NULL-pointer-dereference upon early test failuretools/ | +5 | 0 replies | |
| 2/4 | selftests/sgx: Do not attempt enclave build without valid enclavetools/ | +1 | 0 replies | |
| 3/4 | selftests/sgx: Ensure enclave data available during debug printtools/ | +2 | 0 replies | |
| 4/4 | selftests/sgx: Remove extra newlines in test outputtools/ | +2 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Shuah Khan | Dave Hansen |
|---|---|---|
| 1/4 | A-b | |
| 2/4 | A-b | A-b |
| 3/4 | A-b | |
| 4/4 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 0/4] selftests/sgx: Early enclave loading error path fixes
Changes since V2:
- V2: https://lore.kernel.org/linux-sgx/[email protected]/
- Added Acked-by from Shuah to all patches in series.
- Shuah is ok with these entering the kernel via tip.git:
https://lore.kernel.org/linux-sgx/[email protected]/
- Include [email protected] and more x86 maintainers since goal is for inclusion into tip.git.
Changes since V1:
- V1: https://lore.kernel.org/linux-sgx/[email protected]/
- All changes impact the commit messages only, no changes to code.
- Rewrite commit message of 1/4 (Dave).
- Detail in 2/4 commit log what callers will see with this change (Dave).
- Add Acked-by from Dave to 2/4 and 4/4.
Hi Everybody,
Please find included a few fixes that address problems encountered after venturing into the enclave loading error handling code of the SGX selftests.
Reinette
Reinette Chatre (4):
selftests/sgx: Fix NULL-pointer-dereference upon early test failure selftests/sgx: Do not attempt enclave build without valid enclave selftests/sgx: Ensure enclave data available during debug print selftests/sgx: Remove extra newlines in test output
tools/testing/selftests/sgx/load.c | 9 +++++---- tools/testing/selftests/sgx/main.c | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1