selftests/sgx: Rename 'eenter' and 'sgx_call_vdso'
authorJarkko Sakkinen <jarkko@kernel.org>
Thu, 10 Jun 2021 08:30:17 +0000 (11:30 +0300)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 15 Jun 2021 22:21:23 +0000 (16:21 -0600)
commit6a7171b8a0f8e961744d0c46fb7547662a3fca36
tree1030d9dcb49ede40727ab5592f4fa600eabb4f62
parent0d3e5a057992bdc66e4dca2ca50b77fa4a7bd90e
selftests/sgx: Rename 'eenter' and 'sgx_call_vdso'

Rename symbols for better clarity:

* 'eenter' might be confused for directly calling ENCLU[EENTER].  It does
  not.  It calls into the VDSO, which actually has the EENTER instruction.
* 'sgx_call_vdso' is *only* used for entering the enclave.  It's not some
  generic SGX call into the VDSO.

Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/sgx/call.S
tools/testing/selftests/sgx/main.c
tools/testing/selftests/sgx/main.h