Home
last modified time | relevance | path

Searched hist:ae54853c017aa7c8de5300369563f42d897c27ce (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_rpmb_fs.cae54853c017aa7c8de5300369563f42d897c27ce Tue Nov 07 22:36:52 UTC 2017 Etienne Carriere <etienne.carriere@linaro.org> core: fix access conflict status in rpmb fs that panics TA

According to the GPD TEE Internal Core API specs, when creating
an existing persistent object without the overwrite flag, the OS
should return a TEE_ERROR_ACCESS_CONFLICT status.

This change fixes the RPMB FS layer. An effect of this correction
is that before this change, OS panicked TAs that requested such
forbidden object creation, as a TEE_ERROR_BAD_PARAMETERS return
value is considered by the API as an unexpected status.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)