mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V3 0/4] selftests/sgx: Early enclave loading error path fixes
@ 2022-02-08 21:48 Reinette Chatre
  2022-02-08 21:48 ` [PATCH V3 1/4] selftests/sgx: Fix NULL-pointer-dereference upon early test failure Reinette Chatre
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Reinette Chatre @ 2022-02-08 21:48 UTC (permalink / raw)
  To: dave.hansen, jarkko, tglx, bp, luto, mingo, linux-sgx, x86, shuah
  Cc: linux-kselftest, linux-kernel

Changes since V2:
- V2: https://lore.kernel.org/linux-sgx/cover.1643754040.git.reinette.chatre@intel.com/
- 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/e188c62e-f75e-2bec-b544-76063098611d@linuxfoundation.org/
- Include x86@kernel.org and more x86 maintainers since goal is for
  inclusion into tip.git.

Changes since V1:
- V1: https://lore.kernel.org/linux-sgx/cover.1643393473.git.reinette.chatre@intel.com/
- 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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-08 22:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 21:48 [PATCH V3 0/4] selftests/sgx: Early enclave loading error path fixes Reinette Chatre
2022-02-08 21:48 ` [PATCH V3 1/4] selftests/sgx: Fix NULL-pointer-dereference upon early test failure Reinette Chatre
2022-02-08 21:48 ` [PATCH V3 2/4] selftests/sgx: Do not attempt enclave build without valid enclave Reinette Chatre
2022-02-08 21:48 ` [PATCH V3 3/4] selftests/sgx: Ensure enclave data available during debug print Reinette Chatre
2022-02-08 21:48 ` [PATCH V3 4/4] selftests/sgx: Remove extra newlines in test output Reinette Chatre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®