| tag | db8df0741c68c3bda1781458932a13b34d092cd0 | |
|---|---|---|
| tagger | Jens Wiklander <jens.wiklander@linaro.org> | Fri Jul 15 11:12:32 2022 +0200 |
| object | e7cba71cc6e2ecd02f412c7e9ee104f0a5dffc6f |
3.18.0
| commit | e7cba71cc6e2ecd02f412c7e9ee104f0a5dffc6f | [log] [tgz] |
|---|---|---|
| author | Jerome Forissier <jerome.forissier@linaro.org> | Mon Jul 04 16:34:40 2022 +0200 |
| committer | Jérôme Forissier <jerome@forissier.org> | Wed Jul 06 10:22:49 2022 +0200 |
| tree | ad02ef1da8cd6d07f88aa2eac43f39952163c9cb | |
| parent | f7ed8e3d3955e0b7a7d3ff77ab2abcfd8fb1cdb9 [diff] |
tee-supplicant: fs: use errno instead of returning TEEC_ERROR_GENERIC Try to give a bit more information to the TEE core (and subsequently the TA) about the cause of FS operation errors by translating errno to a TEEC_Result rather than returning TEEC_ERROR_GENERIC always. Introduce TEEC_ERROR_STORAGE_NO_SPACE with the same value as TEE_ERROR_STORAGE_NO_SPACE and use it to map to ENOSPC. This would have been helpful in issue [1]. Instead of being killed with TEE_ERROR_GENERIC, the TA would have received TEE_ERROR_STORAGE_NO_SPACE. Link: [1] https://github.com/OP-TEE/optee_os/issues/5419 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_client.
// OP-TEE core maintainers