[PATCH v6] selftests/x86: Use getauxval() to simplify the code in sgx